logoalt Hacker News

nine_ktoday at 5:24 AM4 repliesview on HN

Is Ruby easy to embed in a C program?


Replies

debugniktoday at 7:29 AM

RPG Maker used to embed Ruby before it was cool (and before they switched to JS for web support).

bandramitoday at 6:01 AM

That was originally the point of Ruby

dismalaftoday at 5:56 AM

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.

show 1 reply