Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

what's rust??

Name: Anonymous 2017-02-07 13:53

??
is it a c dialect or sth???

Name: Anonymous 2017-02-15 20:06

>>33
What does this have to do with arrays?

Name: Anonymous 2017-02-15 20:38

>>41
She's saying that you shouldn't assume arrays are contiguous in C, because any program written in a language that is not purely functional is susceptible to undefined behavior.

Name: Anonymous 2017-02-15 21:54

>>42
But arrays are contigious in C.

Name: Steve 2017-02-15 22:53

I claim these dubs in the name of the LORD

"For I know the plans I have for you, declares the LORD, plans for welfare and not for evil, to give you a future and a hope."

Jeremiah 4:20

Name: Anonymous 2017-02-15 22:53

>>43
Arrays are allowed to be non-contiguous if your program has undefined behavior.

Name: Anonymous 2017-02-16 0:16

>>42
because any program written in a language that is not purely functional is susceptible to undefined behavior.
``Undefined behavior'' means it's defined somewhere else. Only functional languages like Haskell have your domain theory ``bottom'' scam because they don't have behavior, just equations.

Name: Anonymous 2017-02-16 1:44

>>46
``Undefined behavior'' means it's defined somewhere else
Wrong, it means that it's undefined.

Name: Anonymous 2017-02-16 2:07

>>47
Only in the spec, any usable implementation will do something and can therefore be defined empirically, even if it's halt and catch fire.

Name: Anonymous 2017-02-16 2:14

>>46
>>47
In C, it probably means: either the compiler will define it for you at compile time, or the architecture will define it at runtime, or a mixture of both. It it sort of defined but may change any moment (even during the same program run).

Name: Anonymous 2017-02-16 2:20

>>48
That's technically correct but practically meaningless. Undefined behavior of the C language practically means that relying on any meaning for this behavior is complete non-sense.

Name: Anonymous 2017-02-16 3:34

>>50
That's the best kind of correct!

Name: Anonymous 2017-02-16 4:03

>>51
The best kind of correct is politically correct!

Name: Anonymous 2017-02-16 4:34

>>52
The best kind of car is a cdr!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List