3 ms·
> I work professionally in Python these days Elide can run Python using GraalPy, and we want to do some similar toolchain stuff in that universe. We are workin
by sgammon 1y ago
> I work professionally in Python these days
Elide can run Python using GraalPy, and we want to do some similar toolchain stuff in that universe. We are working on an integration with uv. Thanks also for linking this Build Server Protocol thing -- this looks very cool, very relevant, and I don't think I've seen this yet.
> Seems the Scala guys have doubled down on the "compiler as a service" approach, presumably because their compile time story continues to be painful
I wonder if we could run the Scala compiler. Reflection is a challenge in native mode and iirc Scala is reflection heavy, but I have no idea, I've never used it myself. I'll look into this
> snapshot and restore the JVM state and turns out some people are experimenting with that too
There are many efforts in this area: CrAC, Leyden, the new JDK 24 AOT stuff, and pre-warmup stuff before that. These all do make a difference but Native Image takes AOT optimization to a whole other level and seems to perform better for quick-startup quick-shutdown cases[1].
Elide also runs JVM code via Truffle/Espresso, and we're going to need a regular JVM integration. On this side CrAC and so on will be useful to cut down on startup time
[1]: https://github.com/simonis/LeydenVsGraalNative https://github.com/simonis/LeydenVsGraalNative