Command-line apps with and GraalVM: 300x better start-up times:

Also recommend taking a look at the lein-native-image plugin that makes compiling for Graal painless

@yogthos i wonder how suitable this native image is for web service projects

@valerauko it looks like it works with http-kit

The main caveat is that a lot of Java libraries, such as jdbc, don't work with Graal yet. Any pure Clojure code will run fine since the runtime compiles.

@yogthos that startup time would make using clojure serverless realistic even competitive

@valerauko yeah I definitely think graal opens up a lot of use cases that weren't practical before

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!