Hacker News new | ask | show | jobs
by galfarragem 2445 days ago
Could somebody write this in Clojure? I'm too noob to do it myself. Will it be an order of magnitude slower?
1 comments

Many languages will have counted a 1gb file before Clojure has even started up.
> Many languages will have counted a 1gb file before Clojure has even started up.

You mean before the JVM has started up. One could compile Clojure with GraalVM to eliminate startup time.

Not really, the initialization of the JVM is fast(er), but initializing the Clojure runtime took a lot of time. At least in 1.7, not sure if it got better in the meantime.

I could start and run Java programs way faster than just starting the Clojure REPL.