News for hackers. Stuff that matters.
Re:Artichoke is a Ruby made with Rust that compiles to WebAs... by ibraheemdev on Friday January 01, 2021 @07:10PM (#25608765)
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

Re:Artichoke is a Ruby made with Rust that compiles to WebAs... by p4lindromica on Friday January 01, 2021 @08:01PM (#25609136)
You 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/97ba69d31154be45...

[1]: https://github.com/artichoke/artichoke/tree/97ba69d31154be45...

[2]: https://rocket.rs/