clojureD 2019: "Native Clojure with GraalVM" by Jan Stępień
HTML-код
- Опубликовано: 7 фев 2025
- GraalVM challenges the status quo on the JVM. This newly-released just-in-time compiler brings substantial speed improvements and support for polyglot applications. It also allows us to translate our JVM bytecode into small self-contained native binaries. In this session we’ll explore Graal’s impact on Clojure.
We’ll use GraalVM to build native binaries with simple command-line tools. We’ll discuss the method’s limitations and their impact. Finally, we’ll build complete Clojure web applications weighing a fraction of their traditional JVM incarnations.
This is so amazing! great talk
This is the future.
God willing.
legendary
I'm so far really happy with native-images (I have similar use case to the described in the video) except one kinda big issue - specs shipped with Clojure 1.10 don't work in native-images dev.clojure.org/jira/browse/CLJ-1472 but then Cloure 1.10 brings mostly development time improvements so I end up using 1.10 in dev environment and release with 1.9 :D
Also GraalVM's native-images uses their own GC (written in Java). It much less flexible and probably overall less efficient than what JVM provides so having "noop" garbage collector (see github.com/oracle/graal/issues/853 devs provided performance optimization tips) could be really cool for console apps, especially if it allows to compile away GC code to make it even smaller.
Horrible voice recording, Could not listen to those clicks for more then a couple of minutes.
why'd you have to put that in my headddddddddd