4 ms·
I don't really care about startup time personally but the linked page mentions "very low memory usage" which is quite a contrast with Clojure which seems to use
by jpe90 4y ago
I don't really care about startup time personally but the linked page mentions "very low memory usage" which is quite a contrast with Clojure which seems to use insane amounts of memory for simple things.
- capableweb 4y agoI'm not saying it is using a low amount of memory, but I just fired up a new Clojure repl and it seems to end up using 90MiB memory once up and running. Is that what you'd call "insane amounts of memory"? Maybe spending too much time in JavaScript-land has jaded my view of memory consumption.
- shakna 4y agoJanet, for comparison to that 90MiB will use something more like 16MiB. Using less than 20% of the overall memory footprint does make Clojure seem insane by comparison.
- joe_guy 4y agoHow does that scale? I'm not worried about 60mb of ram in 2022. Is there a single like-like comparison of a complex application?
- swlkr 4y agoI wrote janetdocs with joy and it's been running for quite a while on a pretty small VPS. htop shows RES memory usage as ~16MB and SHR as ~6MB, so it's anecdotal, but there's at least one data point.
- d_t_w 4y agoDo you have a reference for Clojure's 'insane amounts of memory' use? Our product (https://kpow.io https://kpow.io) is written in vanilla Clojure/Clojurescript, it will quite happily run with a 64MB heap for smaller workloads. 64Mb for a non-trivial full-stack enterprise-grade application with authentication enabled providing a rich UI and multiple asynchronous and/or scheduled background processes that monitor and manage Kafka resources. Sure we don't recommend running multi-cluster production workloads on a 64MB heap, but requiring further memory for real workloads has nothing to do with Clojure and we're a long way from 'insane' memory use, or doing simple things.
- d_t_w 4y agoRE: Clojure startup times, the full Kpow web app starts in ~7s.