3 ms·
This is fine for new projects, but OP already has a large Ruby codebase. "Just rewrite the whole thing in Julia and you won't need FFI" isn't a reasonable ask.
by one-more-minute 9y ago
This is fine for new projects, but OP already has a large Ruby codebase. "Just rewrite the whole thing in Julia and you won't need FFI" isn't a reasonable ask.
Rust's ability to compile to a small C-compatible binary is definitely an advantage here, although Julia will have similar capabilities soon.
- jamii 9y ago> although Julia will have similar capabilities soon. Do you have a link to further info on that?
- one-more-minute 9y agoSee https://github.com/JuliaComputing/static-julia https://github.com/JuliaComputing/static-julia A lot of this stuff has worked for ages, but it's rough in various places and needs a better interface. I'm not sure to what extent exporting C functions is actually supported in that wrapper script, or whether you'll need to fiddle with compiler options.