back

by dmit·6y ago·view on hn ↗
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

1 comments
And 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.