4 ms·
There are probably a lot of benefits to be gained from Rails on Wasm. For example, Shopify recently posted an article about how they use Wasm outside of the bro
by ibraheemdev 6y ago
There are probably a lot of benefits to be gained from Rails on Wasm. For example, Shopify recently posted an article about how they use Wasm outside of the browser to execute untrusted code (user scripts) [0]. It is also worth mentioning that although Artichoke supports WebAssembly as a build target, compiling to Wasm is not the only way to execute an Artichoke program.
0: https://shopify.engineering/shopify-webassembly https://shopify.engineering/shopify-webassembly
- p4lindromica 6y agoYou might be interested in this early work to build a Sinatra echo server [0] with Artichoke (called ferrocarril back then). `hubris` used a custom Rack-compatible web server called `nemesis` [1] based on Rocket [2], a Rust Flask-like web framework. [0]: https://github.com/artichoke/artichoke/tree/97ba69d31154be455fb89c4e462cf4e2ad800f57/hubris https://github.com/artichoke/artichoke/tree/97ba69d31154be45... [1]: https://github.com/artichoke/artichoke/tree/97ba69d31154be455fb89c4e462cf4e2ad800f57/nemesis https://github.com/artichoke/artichoke/tree/97ba69d31154be45... [2]: https://rocket.rs/ https://rocket.rs/