3 ms·
One can already embed Ruby in any C-compatible project with mruby, which this project uses as a default backend. mruby itself is extremely modular. I’m not too
by lloeki 6y ago
One can already embed Ruby in any C-compatible project with mruby, which this project uses as a default backend. mruby itself is extremely modular.
I’m not too sure this is for embedding related to size, but more as an abstraction layer to have the ability to switch backend, as well as embedding (as in inside a larger app, not as on embedded-class devices) but aimed at Rust projects.
I find the description a bit misleading:
> Artichoke is a Ruby implementation written in Rust and Ruby
The arch doc seems to indicate this is an implementation in C and Ruby (mruby) with a frontend/backend layer written in Rust, and packaged as crates for ease of use in Rust. Maybe the desc is about the endgame, gradually eating the C part with Rust?