News for hackers. Stuff that matters.
Re:WebAssembly doesn’t make unsafe languages safe by devit on Sunday November 25, 2018 @05:12PM (#18529399)
NULL pointing to valid memory seems like a serious flaw that can and should be easily fixed.
Re:WebAssembly doesn’t make unsafe languages safe by DannyBee on Sunday November 25, 2018 @05:41PM (#18529542)
There have been plenty of real environments where NULL pointed to valid memory (AIX, for example)

It also has a reasonable use case ( or did, pre Spectre).

It allows you to hoist and speculate loads that may be null. Since it is valid memory, instead of a fault, you would just get a result (usually zero on most of these platforms) you would throw away if it was not needed.