Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Every programming language needs something like this!


That's why Jupyter support more than 60 languages (https://github.com/jupyter/jupyter/wiki/Jupyter-kernels) which language did you had in mind ?


Perhaps a dumb question, but do those languages tend to have wrappers for common Python libraries like Pandas?


I 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.


What 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-Integ...


Julia 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++.


Oh, I thought this was only for python :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: