3 ms·
> More work on being easily used by/incorporated into applications written in other languages, would perhaps be a more impactful thing to work on. That's basic
by bachmeier 2y ago
> More work on being easily used by/incorporated into applications written in other languages, would perhaps be a more impactful thing to work on.
That's basically a solved problem. For instance, RInside opens a C interface that can be called by any language that can call C functions, which is basically every language. It's efficient, too, because you're only passing pointers around. Here's an example in Ruby (disclaimer that I wrote it): https://github.com/eddelbuettel/rinside/blob/master/inst/examples/c_interface/passdata.rb https://github.com/eddelbuettel/rinside/blob/master/inst/exa...