Execute Ruby on the web.
Artichoke compiles to WebAssembly with Emscripten. We plan to support compiling for wasm32-unknown-unknown targets.
Artichoke targets MRI Ruby 2.6.3.
If Artichoke does not run Ruby source code in the same way that MRI does, it is a bug. MRI compatibility means supporting a C API, if possible.
Disable sensitive APIs at compile time.
Replace the system environ with a stub, disable Regexp engines susceptible to catastrophic backtracking, or skip packaging parts of the standard library.
Distribute app bundles with ease.
Pack a Ruby VM, application source code, configuration, and native extensions into a single-file bundle. Easy distribution without requiring installation of a Ruby VM.