R
Richard Bos
Chris M. Thomasson said:Okay, since spinoza does not see any need to take on the challenge,
Myeah... _still_ having that much fun feeding the troll?
Richard
Chris M. Thomasson said:Okay, since spinoza does not see any need to take on the challenge,
Richard Bos said:
Richard: I was recently hauled over the coals for a drop in my S/N
ratio. I took this in the spirit in which it was intended and have
attempted to remedy that situation.
Might I suggest that you take the same view, and try to lift your own
S/N ratio a little? I can't actually remember the last time you
posted a genuinely technical response, so ISTM that at present your
S/N ratio is effectively 0. You can do much, much, much better than
that.
"spinoza1111" <[email protected]> wrote in message
PDFTFT[...]
Richard said:Myeah... _still_ having that much fun feeding the troll?
According to Google Groups, nearly two-thirds of the messages posted
to c.l.c using spinoza111's e-mail address since he started doing so
in November, 2001 have been posted during July and August this year.
Has responding to him been a productive use of their time for any of
the people involved?
No problem,
thank you! :^D
t you're doing all the significant work here. I more or
less blindly identified a feature I don't use all that much but seemed
to be what you wanted.
Trust me spinoza, you hit the nail directly on the head. Anyway, here is
full self-contained compliable example code in C and IA-32 asm (MSVC 6.0
and higher) that I am trying to accomplish/mimic in C#:
___________________________________________________________________________ [...]
Is the code at the end of this post what you wanted? I changed cmp to
set it to target so that the equality holds. It is not possible for
CompareExchange to determine whether two objects are internally
identical in all particulars, since equality-of-objects is only
predefined for value objects and strings (and in the case of strings,
there are different theories, such as case sensitivity versus case
insensitivity, as to what constitutes inequality).
spinoza1111 said:Unless you're being sarcastic and ironic, you're very, very welcome:
for one of the problems here is the solemnity with which reputations
and people are destroyed. I will if necessary write poetry here on the
topic of C and C programmers to change this newsgroup. All poetry will
be original and written in real time for the response unless
identified as a quote or prewritten.
There is a language named C
Designed by Kernighan and Ritchie.
It's an abomination and a pointer to void
Designed for programmers named Mortimer Snoid
That ridiculous language called C.
Whatever you say clearly about C
Has been made wrong by the Standard, you see:
Your knowledge is out of date
Because vendor money we do not hate
We need to make fortunes from C, see?
There once was a pointer and it pointed to void
And there it found the name of Murgatroyd
Followed by NUL.
It was awful
What happened to the bank account of Murgatroyd.
Alan Morgan said:Those are some of the worst limericks I've ever read.
The programming language called C
Is quite tricky, I think you'll agree
Just dereference void
And your code is destroyed
Curse Kernighan and curse Ritchie!
Not a masterpiece, I grant you, but certainly more competent than
your efforts.
I do not know why it is necessary to pad structures up to the size of
an L2 cache line, nor why it is necessary to align them on boundaries.
To me this is a job for the runtime.
But I agree that in most systems
this might mean a thrilling return to C and MASM.
;^)
However, C Sharp provides for simulating C unions by allowing
directives that back member origins back up to the start of the
previous structure member in a way which hides member lengths. It may
also provide a directive to force the size of a structure to some
convenient power of two which in general is what things like fast
caches want, right?
Alternatively, the C sharp programmer could measure the size of the
data structure (easy when it contains only data, very very hard when
it contains code) and add extra dummy variables to pad. Or, the
compiler could do this. It can also align to powers of two boundaries.
This can be done without exiting managed code.
Basically, I need to port the following code to C#:
The programming language called C
Is quite tricky, I think you'll agree
Just dereference void
And your code is destroyed
Curse Kernighan and curse Ritchie!
Not a masterpiece, I grant you, but certainly more competent than
your efforts.
Alan Morgan said:
Here are some in a more positive vein:
There's a programming language called C
We can use *anywhere*, you'll agree.
Curiosity brimming?
You'll have to go swimming
To see how to C in the sea.
Than the C language what could be cuter
To program a modern computer?
I would recommend C
For your binary tree
But remember you'll need a good tutor.
In the modern competitive sphere,
You'll be needing a language that's clear;
For full portability,
Performance, simplicity,
Let's give the C language a cheer!
(e-mail address removed) (Alan Morgan) writes:
The trouble is there is no 'void' that might be dereferenced. Maybe:
Just dereference NULL
and the chances are you'll
be asking on comp lang dot C.
Those are some of the worst limericks I've ever read.
The programming language called C
Is quite tricky, I think you'll agree
Just dereference void
And your code is destroyed
Curse Kernighan and curse Ritchie!
Not a masterpiece, I grant you, but certainly more competent than
your efforts.
Spinoza thinks he can
A rhyming poem plan
But verses do not scan
The syllables have ran
Poetic licence taken
Shall not save his bacon
Rhythm was forsaken
That's the indication
Spinoza thinks he can
A rhyming poem plan
But verses do not scan
The syllables have ran
Poetic licence taken
Shall not save his bacon
Rhythm was forsaken
That's the indication
Even better would be
Spin knows, ah, that he can
Make a poem to rhyme and scan
But my verses are no good
My day job quit I not should
It appears good to me
The pieces of excrement
As they along the effluent tunnel drift
And when they are within reach
I impale them with a sharp instrument
This Ant did hit the spot
Consulted tomes were not
Spinoza's work is shot
He's talking tommy-rot
And followed me up twice
With verse that wasn't nice
I must have got his goat
His poetry is bloat
He thinks a bigger word
May more impress the herd
And I am just a nerd
Who's flipping him the bird
It appears good to me
The pieces of excrement
As they along the effluent tunnel drift
And when they are within reach
I impale them with a sharp instrument
This Ant did hit the spot
Consulted tomes were not
Spinoza's work is shot
He's talking tommy-rot
And followed me up twice
With verse that wasn't nice
I must have got his goat
His poetry is bloat
He thinks a bigger word
May more impress the herd
And I am just a nerd
Who's flipping him the bird
Sounds like Yoda's impression of Churchill.
Incidentally I agree with you that rime and rithme
are not the only materials with which to construct
a coherent poetical framework. In Old English that
task was often performed by aliteration.
Being a largely uninflected language, English has
a relative paucity of rimes (as compared to, say,
Italian).
My personal favorite of late is metered blank verse.
Rithme with the conspicuous absence of rime.
eg, Lou Reed.
Richard Bos said:I suggest inviting that MI5 guy in, as well.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.