3 ms·
Every programming language needs something like this!
by kazakx 9y ago
Every programming language needs something like this!
- carreau 9y agoThat's why Jupyter support more than 60 languages (https://github.com/jupyter/jupyter/wiki/Jupyter-kernels https://github.com/jupyter/jupyter/wiki/Jupyter-kernels) which language did you had in mind ?
- mistermann 9y agoPerhaps a dumb question, but do those languages tend to have wrappers for common Python libraries like Pandas?
- yorwba 9y agoI doubt it. Python is not very embedding-friendly. You might be able to bridge the gap via the foreign function interface, but it's unlikely that the Pandas API will feel as comfortable in another language that it wasn't designed for.
- carreau 9y agoWhat you can do is the opposite, run Python as the main language and integrate with other. There are demos around of notebook with multiple languages. Old example I wrote: Python, R, Rust, C, Cython, Julia and Fortran all calling each others: https://matthiasbussonnier.com/posts/23-Cross-Language-Integration.html https://matthiasbussonnier.com/posts/23-Cross-Language-Integ...
- ihnorton 9y agoJulia does (Pandas, matplotlib, many others). Swift is getting some language features to make this kind of binding possible/simpler. IIRC xtensor does (or can) wrap Python libraries from c++.
- kazakx 9y agoOh, I thought this was only for python :)