Is Ruby easy to embed in a C program?
RPG Maker used to embed Ruby before it was cool (and before they switched to JS for web support).
That was originally the point of Ruby
Yes -> https://mruby.org
It's also incredibly easy to extend the main Ruby implementation with C, C++, Odin, Zig, Rust, Fortran, etc... Literally a few lines.
The main Ruby implementation is also fairly easy to embed. It's just not easy to embed multiple MRI ruby instances in a single application, and it's also a lot bigger than mruby.
RPG Maker used to embed Ruby before it was cool (and before they switched to JS for web support).
That was originally the point of Ruby
Yes -> https://mruby.org
It's also incredibly easy to extend the main Ruby implementation with C, C++, Odin, Zig, Rust, Fortran, etc... Literally a few lines.
The main Ruby implementation is also fairly easy to embed. It's just not easy to embed multiple MRI ruby instances in a single application, and it's also a lot bigger than mruby.