Re:Wasm3 – A high performance WebAssembly interpreter in C
by zozbot234 on Monday January 13, 2020 @05:15AM
(#22033238)
If you care about "true" bounds checking, just compile to Wasm from a safe source language. Besides, Wasm does support multiple memory blocks so a potentially-unsafe module need not "taint" anything else.
Re:Wasm3 – A high performance WebAssembly interpreter in C
by pjmlp on Monday January 13, 2020 @05:24AM
(#22033266)
Security is as strong as the weakest link.
/clr:pure uses unsafe and supports those cases though.
And yeah, WebAssembly only doing bounds checking within a single memory block and not actually offering true bounds checking is a big downgrade, and a pretty much unjustified one (+ it's rare among JITted languages...).