3 ms·
There are situations where you might want something lighter than the JVM. If startup time matters or you want a low memory footprint then JVM is not ideal. The
by yogthos 9y ago
There are situations where you might want something lighter than the JVM. If startup time matters or you want a low memory footprint then JVM is not ideal.
The other reason is that there are lots of people who work with JavaScript and are not interested in the JVM ecosystem. I think it's good to have an option that targets this demographic.
One of the goals for Macchiato is to provide a Ring compatible API. This allows you to start projects on Node and move them to the JVM as they grow.
- deleted 9y ago[deleted]
- pjmlp 9y agoThe JVM startup is quite fast, and it can be made even faster when using a JVM that supports AOT compilation to native code. Slow startup of Clojure's code, it's Clojure own doing. The (Clojure) "JVM Slow Startup Time" Myth - http://blog.ndk.io/jvm-slow-startup.html http://blog.ndk.io/jvm-slow-startup.html
- yogthos 9y agoSure, Clojure adds a lot of overhead on top of the JVM. However, even large Java apps can take seconds to startup. If you're targeting something like AWS Lambda, that's a no go.