News for hackers. Stuff that matters.
Re:Writing Rust the Elixir Way by brabel on Monday November 30, 2020 @10:20AM (#25254638)
WASM runs in a sandbox, it's not possible to call a shared library directly in the same way as you do in C... all sys calls are "imported" functions that a host exposes to the WASM code running... this host has the ability to do anything around a sys call, which is likely how they manage to forbid access to network/filesystem for example.

The host can be the browser when running on the browser, or it can be one of the WASM runtimes (wasmtime, wasmer, Lucet)

There are no comments on this comment yet.