by krisdol · 8y ago · 0 comments
One reason I might be interested in running clojurescript on node.js is because most web technologies nowadays are written for node.js/javascript first and ported as an afterthought. GraphQL servers on Clojure/Java, for example, are like 3rd class citizens compared to node.js. Google provides nice wrappers to their APIs as long as you're not using clojure. I end up writing things in-house a lot more often than I would with node where I just npm install the package I want and I get something that is maintained by the official author.
The (Clojure) "JVM Slow Startup Time" Myth
~ time java test
Hello world
java test 0.11s user 0.03s system 88% cpu 0.161 totalMacBook Pro (Retina, 15-inch, Late 2013)
Wrong. JVM is fast to start. Clojure is slow to start.