News for hackers. Stuff that matters.
Re:Wasmer 5.0 by taberiand on Tuesday October 29, 2024 @07:47PM (#41990636)
To be fair, a rock-solid sandbox with extremely well defined and host controlled ingress/egress in a tiny package sounds absolutely fantastic
Re:Wasmer 5.0 by api on Tuesday October 29, 2024 @07:51PM (#41990653)
That’s what it is.
Re:Wasmer 5.0 by 1oooqooq on Wednesday October 30, 2024 @12:11AM (#41991911)
that would have been implement in something like forward only language like ebpf. wasm is just an outgrown hack that people are hopping will be that safe sandbox and solve all JavaScript problems.

do not fool yourself with this temporary feature. wasm was first for js performance. secondly for portability. and third and accidentally for sandbox.

Re:Wasmer 5.0 by mrugiero on Wednesday October 30, 2024 @10:04AM (#41994925)
> that would have been implement in something like forward only language like ebpf. wasm is just an outgrown hack that people are hopping will be that safe sandbox and solve all JavaScript problems.

It's funny that every time an article on new functionality for eBPF appears in LWN everybody is like "why don't they just use WASM???". More seriously, a forward only language is by definition too strict for the general case of sandboxing, unless you mean using it only for hooking the syscalls rather than as a target for your program. In particular, the Linux implementation caps your execution to 1M instructions, which is not a lot for something you'd want on your browser.

Re:Wasmer 5.0 by 1oooqooq on Thursday October 31, 2024 @07:40AM (#42005788)
forward only requires you to think harder. that's very true.