Embedding Julia in Scala

I would look at this package to call Clojure, either to use (or to learn from):

Why bring it up? Just as Java can call Scala or Kotlin etc., and those languages can call Java, the same it true for Clojure.

I believe that project embeds Julia in the JVM, i.e. calling between languages is fast and reuses memory (and if I’m right about that, then it’s the only/first package I know of doing that). That’s unlike JavaCall.jl where you call the JVM, that runs in a separate process. JavaCall.jl has been used to call Scala, but then Julia is your top language. There might be a workaround, and yes with that other package Clojure, not Scala, is your top language.

I did find something more, maybe relevant or helpful:

1 Like