Hacker News new | ask | show | jobs
by smitop 972 days ago
fun trivia: in WebAssembly it's valid to read/write to memory address 0.
2 comments

I’m glad you appreciated me saying exactly this in the talk
Ah fuck, I grepped the YouTube transcript for WASM/WebAssembly but I guess youtube's automatic captions aren't very good. I feel silly now for not watching the video before commenting.
This is the way ;)
With or without man (page) lore?
Ohly because the VM WebAssembly physical hardware address to running program memory address 0 isn't actually mapped to physical hardware memory address 0.

Note: think there's a way to convert this to some shorter, massively recursive C pointer, to pointer .... to pointer declaration explaination.