Has anyone ever tried to run Clojure bytecode via Espresso on the Truffle framework and is it possible using the Polyglot API that way?
I’ve tried but startup time is slower than regular JVM so it kind of defeats the purpose of you want fast startup
My purpose is to mix with Ruby, Python, JS and the other languages on Truffle. :)
then you probably don't need espresso, since you're already running in a JVM
The Polyglot API of the Truffle framework is a lot cleaner, and requires less boilerplate code
Plus, the optimization is probably better, since Espresso has direct access to the Truffle AST
And I guess serialization overhead is reduced and they share the same memory
Not to forget that we get the same tooling then, especially debugging will be easier