3 ms·
See project like metakernel [1], in the end a kernel can be "just" controlling process that manage multiple language. So why you won't get "multiple kernel" you
by carreau 10y ago
See project like metakernel [1], in the end a kernel can be "just" controlling process that manage multiple language. So why you won't get "multiple kernel" you can get "one kernel with multiple language". Its just asking for "multiple kernel" which not the best way to describe what you want to do. In the end it the same excpet you do the language dispatch in the backend instead of the frontend. It's also more efficient for data sharing.
[2] show you haw Hydrogen (based on Jupyter as well), does it.
And [3] (mine), show you how in the the same notebook to use Python, R, C, Rust, Fortran, Cython and Julia with data sharing and sending functions back and forth between languages. I was definitively lazy and did not include things like SQL, javascript and a few others. I haven't used spark in a while, and definitively never from scala directly, but I doubt it would be much harder to do as the C/Rust/Fortran/Cython took me an afternoon to write.
[1]: https://github.com/Calysto/metakernel https://github.com/Calysto/metakernel
[2]: https://www.google.com/url?hl=en&q=https://medium.com/nteract/hydrogen-introducing-rich-multi-language-documents-b5057ff34efc&source=gmail&ust=1491411006830000&usg=AFQjCNF-dWWzLXr2H6zJRuJyMpc2RqiWpQ https://www.google.com/url?hl=en&q=https://medium.com/nterac...
[3]: http://carreau.github.io/posts/23-Cross-Language-Integration.html http://carreau.github.io/posts/23-Cross-Language-Integration...