Can GraalVM speed up shadow-cljs?


#1

Very curious! shadow-cljs now takes quite some time to startup.


#2

Probably. You might have to sacrifice some dynamic parts in the process.

Graal statically analyzes class files only so that means that all Clojure code would need to be AOT compiled. AOT has all sorts of issues which is why I removed the AOT compilation which shadow-cljs once had.

Currently I have no plans to work on it but I might re-evaluate once a final GraalVM is out and actually supports Windows given that I’m on Windows.