Command-line apps with #Clojure and GraalVM: 300x better start-up times: https://www.astrecipes.net/blog/2018/07/20/cmd-line-apps-with-clojure-and-graalvm/
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 https://www.innoq.com/en/blog/native-clojure-and-graalvm/
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
@yogthos they could compile netty so aleph should probably work too https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692
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!