News for hackers. Stuff that matters.
Re:Wasmer 2.2 by Shadonototra on Monday February 28, 2022 @08:21PM (#30507903)
I never understood the need of such stuff

WASM only good for client side web browsers, anything is a pure waste of time and human resources

Re:Wasmer 2.2 by simonw on Monday February 28, 2022 @11:04PM (#30509363)
WASM is exciting for so much more than browsers.

I'm a Python developer. Two needs I have for WASM are:

- I want to use libraries like ffmpeg without first figuring out how to compile them and talk to them through Python bindings. If the JavaScript community have already done the work to compile ffmpeg to WASM then I can use it from Python too - on any platform that has a Python WASM runtime.

- I want a safe sandbox for executing untrusted code - for example, I'd like to build a plugin system for one of my projects where the users of that project can execute code they find on the internet without fear of it 0wning their computer. Sandboxing Python scripts (and Sandboxing for most other languages) is notoriously hard to do safely. WASM offers a rock-solid, widely tested sandbox mechanism.

Re:Wasmer 2.2 by syrusakbary on Monday February 28, 2022 @08:39PM (#30508080)
I have good news! Wasmer can also be run on the browser. Check out wasmer-js [1]

[1] https://github.com/wasmerio/wasmer-js/

Re:Wasmer 2.2 by Shadonototra on Monday February 28, 2022 @08:41PM (#30508098)
node-js? no thanks

What's up with Rust people bloating everything?

Re:Wasmer 2.2 by n42 on Monday February 28, 2022 @09:45PM (#30508708)
Do you want to have a conversation, or are you just here to complain?
Re:Wasmer 2.2 by stevemk14ebr on Monday February 28, 2022 @10:50PM (#30509237)
Wasm is a sandbox first off. Any situation where you want to isolate a computation is an application suitable for wasm. Browser is just one instance of that