4 ms·
One cool application that cropped up in the Rust ecosystem is to use WASM for procedural macros. That way not only can they be distributed as precompiled (arch-
by dmit 7y ago
One cool application that cropped up in the Rust ecosystem is to use WASM for procedural macros. That way not only can they be distributed as precompiled (arch-agnostic) blobs from crates.io, but you also get all the benefits of the sandbox environment to guarantee freedom from malicious side effects. The W in "WASM" doesn't have to limit possible applications to just the web browser.
https://github.com/dtolnay/watt https://github.com/dtolnay/watt
- antpls 7y agoAnd once there is a GC, it will be a good target for script languages on the OS, as wasm compilers are optimized for fast starting.