3 ms·
What alternatives there are for C/C++ if you want to write library that you can call from Python, R, Matlab, Java, Rust, Lua, node.js ... and have good perform
by nabla9 10y ago
What alternatives there are for C/C++ if you want to write library that you can call from Python, R, Matlab, Java, Rust, Lua, node.js ... and have good performance?
Old ones like Ada and Fortran of course.
There are newcomers like Rust and Go. Are their C api's mature and portable?
- vvanders 10y agoFor Rust? Totally usable and robust.
- pjmlp 10y ago> Old ones like Ada and Fortran of course. Modula-2, FreePascal, D
- insertnickname 10y agoThis isn't really something that Go is meant to do, but it is possible with a little bit of hacking. https://blog.heroku.com/see_python_see_python_go_go_python_go https://blog.heroku.com/see_python_see_python_go_go_python_g...
- biokoda 10y ago> Are their C api's mature and portable? Rusts C api is completely mature and portable. In fact if you are writing a library that you want to have a C interface to, Rust is a fantastic choice.