News for hackers. Stuff that matters.
Re:Lunatic is an Erlang-inspired runtime for WebAssembly by malft on Saturday July 31, 2021 @04:14AM (#28016363)
Yes, that's the point. If you need to parse a JPEG, you spawn a VM to do so. It is allowed to use n seconds of CPU, k bytes of memory, and send a bitmap back to the caller.

(Sure, you could screw it up if the caller accepts a negative-size bitmap and corrupts its heap. Lets assume that process is written in a memory-safe language.)

Re:Lunatic is an Erlang-inspired runtime for WebAssembly by pjmlp on Saturday July 31, 2021 @06:35AM (#28016933)
Assumptions is how exploits get triggered.
Re:Lunatic is an Erlang-inspired runtime for WebAssembly by sealeck on Tuesday August 03, 2021 @12:45PM (#28051318)
It would be unlikely to incorrectly assume that the language you are using is not in fact memory safe no?