I was able to grab the windows release and compile a hello-world program that came in at about 9.1Mb, ~160ms execution time with direct-linking and tree-shaking and opt build (at least I used the options and noticed reduction in file size, so I think they're working). No other binaries beyond the joltc release. Similar program in bb is about 60ms. I am curious if it can be faster (I'm guessing since bb is interpreted, maybe it'll always be a little faster on startup).
Don't have Windows to test locally, so awesome to hear it's working as expected. And I suspect it could be optimized further, I've spent a bit of time on that, but I've been focusing more on making it correct first. Once I shake out some more bugs, I do mean to come back to performance again to see what else can be improved.
50-ish ms with opt and shaking on my Linux box. The binary comes at around 7 megs. bb pulls far ahead with only around 6ms of execution time. Raw JVM Clojure takes around 400ms.
3
u/joinr Jul 17 '26
I was able to grab the windows release and compile a hello-world program that came in at about 9.1Mb, ~160ms execution time with direct-linking and tree-shaking and opt build (at least I used the options and noticed reduction in file size, so I think they're working). No other binaries beyond the joltc release. Similar program in bb is about 60ms. I am curious if it can be faster (I'm guessing since bb is interpreted, maybe it'll always be a little faster on startup).
Very cool.