Follow

Command-line apps with and GraalVM: 300x better start-up times: astrecipes.net/blog/2018/07/20

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

github.com/taylorwood/lein-nat

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

@valerauko it looks like it works with http-kit innoq.com/en/blog/native-cloju

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
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!