crantanplum
Re:Microsoft Xim
on Wednesday October 08, 2014 @05:53PM (#8429670)
So uhhh. How do you pronounce Xim?
KS-im? Zz-im? SHim?
Re:Rust means never having to close a socket
on Tuesday October 07, 2014 @08:44PM (#8424778)
This is definitely outside the scope of my knowledge, but if you dereference a null pointer, won't you get an illegal memory access?
Undefined behavior, at least colloquially, is about dereferencing a pointer to memory that may or may not be accessed and may or may not work/crash-the-program. That's what makes it undefined and an absolute disaster to track down.
I'm pretty sure that if you try to deference memory address zero the OS will bark at you.
Again, it's not my area of expertise, so please correct me if I'm wrong
Re:Rust means never having to close a socket
on Tuesday October 07, 2014 @01:55PM (#8422743)
What part of that is undefined? When you move the pointer, the original becomes null..