Comment

Comment by geokon

> the JVM isn't the only reason Clojure starts slowly, but it's still a major contributing factor

In case you didn't actually look at the links, but the evidence seems to point to this not being true (JVM startup is ~10% of the time)

> you're still hauling around a heavy runtime

> around 8 to 13 megs in size

I think if you jpackage a Clojure app with no GUIs or anything (that then bundles only the strictly necessary parts of the JVM) - it's around 50MBs. It's still embarrassingly slow to launch, involves ugly installers, doesn't provide crosscompilation and the memory usage makes Electron apps look lean.

That's to say, I think Jolt has a very valid place in all of this :) If I could plug in Clojure code and get out small fast executables for all major OSs (cosmopolitan?) that I can then share, that'd be useful for the rare situation I don't have any JVM dependencies

parent geokon 22 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton