You should check out GraalVM!

I just wanted to give a shout out to GraalVM. It’s a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Groovy, Kotlin, Clojure, and LLVM-based languages such as C and C++.

It’s a pretty powerful and impressive technology. It allows you to call code in another language with a simple polyglot.eval() without any runtime overhead. (Of course there is a general performance penalty, because it all runs on the GraalVM, but there is no extra overhead for language cross calling.)
I invite you to check it out and play around with it a little.

I’d be interested to hear what use cases you could envision for it! :grin:

I think it would be really neat to see a CoreFn AST interpreter written with Truffle. Seems like it would be straightforward to get working once you get a hang of the Truffle API. I don’t currently work on the JVM though, otherwise I would do it.

SlamData had a go at this once: