Clojurians
#boot-dev
<
2018-12-30
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

flyboarder23:12:42

Just in time for the New Year :slightly_smiling_face:

flyboarder23:12:17

@alandipert here is a working build for native boot-bin on linux^

flyboarder23:12:08

generally the overall performance within the container is slower because of SubstrateVM, however the native image itself is much faster and all the bootstrapping is shifted out of the JVM

alandipert23:12:05

whoa i'll have to wrap my head around this :champagne:

flyboarder23:12:26

running boot using the native image and a standard JVM would see ~5-6 faster startup

flyboarder23:12:38

it’s fairly straight forward - instead of using a java app to download and fetch the main boot.jar we use a clojure app compiled to native image

flyboarder23:12:34

then we skip the shim loader entirely and just launch the boot.jar with a jvm that has IO redirected to our native-image

flyboarder23:12:06

so now we get all the previous boot-bin stuff as a native-image with ~0.5second runtime on my mac