2 ms·
What do you see as the advantage of using these Rust + WASM running on Lunatic processes, versus developing in Elixir?
by jimbokun 6y ago
What do you see as the advantage of using these Rust + WASM running on Lunatic processes, versus developing in Elixir?
- bkolobara 6y agoUsing C bindings without fear would be a big one. If you use NIFs in Elixir you may bring down the whole VM with a segmentation fault. While Lunatic limits this failure to only the affected process. WASM was designed to be run inside the browser so the sandboxing capabilities are much stronger. Another would be raw compute power, WASM comes close to native in many cases.
- nahuel0x 6y agoOther advantages over BEAM: Static typing, multiple languages with a WASM target available, live migration of process to the browser.