C is a cool programming language where if you want to return a string from a function you have to set up an entire physical-universe human social system for adjudicating who is responsible for freeing it "In order to create a C string, you must first create civilization"
-
-
out of order execution can also be a problem in some architectures, but they compiler do the right thing , usually
-
Not sure what you mean. Visibility from other cores? If so that's just redundant with data races/[lack of] memory barriers.
-
no, there are cpus that reorder instructions and cause problems if you are not careful in puting NOPs in the correct place they're totally dependent on the compiler creating the correct sequences counting on reordering
End of conversation
New conversation -
-
-
sometimes cpu bugs are fixed in the compiler, the compiler is what preserves the behavior of the C language those things I said is that for those working with the compiler they should know that list of things
-
Ok, that goes back to..https://twitter.com/RichFelker/status/1017497123208785921 …
-
I agree, my point was that there's a lot of hidden things, both the C language, the ISA and the CPU itself hide things from you that's why its writing in the spec "C v̶i̶r̶t̶u̶a̶l̶ abstract machine" people take it for the real thing when it's not
-
*written
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.