Hey, did anybody try out something like <sos-noteb...
# datascience
h
Hey, did anybody try out something like sos-notebook to run python and kotlin code in a notebook? Unfortunately, many libraries or papers still use python...
a
I think it is dead. Kotlin is currently supported by Jupyter and DataLore. I used Kotlin with BeakerX, but kotlin kernel there is obsolete.
The most complicated thing in a multi-language environment is to transfer data from one runtime to another. I think GraalVM Python support is very interesting thing to consider.
h
Yep, this is the problem. After digging, BeakerX uses the same approach like sos-notebook (beakerX uses json, sos-notebook plain strings) and a shared variable with dynamic member feature. It works for small projects/testing, but not with big data/custom nested classes. What do you mean with GraalVM Python?
a
GraalVM allows to run python via trufle in the same address space as JVM code. It promises to be able to run Numpy as well.
h
The last sos commit was seemingly in May, so it does not look too dead to me. It would be a wonderful way to mix the beauty of Kotlin for modelling with the power of R and python for analysis. Kotlin has still a long way to go to catch up here. Currently, we use rather disparate workflows to run kotlin first and then R over the data being generated.