News for hackers. Stuff that matters.
Re:Why Go Is Not Good by richo on Monday June 30, 2014 @12:27AM (#7963696)
"The language" ?

C doesn't define behaviour of a null deref, but most compilers map a -rwx page there to ensure that attempts to deref fault.

In what circumstance do they not?

Re:Why Go Is Not Good by dbaupp on Monday June 30, 2014 @12:51AM (#7963743)
The compilers don't map pages there, the operating system does. The problem is the compiler will optimise assuming that a null deref never happens, so you can have source that looks like it should crash due to a null deref, but the compiler has "misoptimised" it to have very different behaviour.

http://blog.llvm.org/2011/05/what-every-c-programmer-should-...