4 ms·
What I would like to see is a way to use multiple languages within the same script, to use the different abilities of different languages. For eg: Query a datab
by mathnmusic 7y ago
What I would like to see is a way to use multiple languages within the same script, to use the different abilities of different languages. For eg: Query a database via Ruby using ActiveRecord, then do some number crunching in Python using numPy or Pandas, and finally plot some statistical charts using R.
Jupyter's multiple language kernels come close to this, but not quite.
- fniephaus 7y agoYou can do this with GraalVM. Here's an example: https://github.com/graalvm/graalvm-demos/tree/master/polyglot-javascript-java-r https://github.com/graalvm/graalvm-demos/tree/master/polyglo... And here's a polyglot notebook example: https://fniephaus.com/2019/px19-polyglot-notebooks.pdf https://fniephaus.com/2019/px19-polyglot-notebooks.pdf And finally, here's our GraalVM-powered Jupyter kernel: https://github.com/hpi-swa/ipolyglot https://github.com/hpi-swa/ipolyglot