Re:Another year of Clojure
by canttestthis on Friday July 06, 2012 @06:50AM
(#4207213)
> Clojure's memory consumption is extreme, which excludes it from many realms of software development.
Is this solely because it runs on the JVM? Because per the alioth comparison tests, Java 7 uses much less memory than Clojure too.
Dynamic languages typically also have to pay a price for carrying around type tags and having everything be heap allocated.
Re:Another year of Clojure
by rabidsnail on Friday July 20, 2012 @08:46AM
(#4270462)
Those costs are the same as Java's in Clojure's case.
It's primarily useful for sovereign applications (e.g. precludes utilities) which do not require high memory density (e.g. precludes databases).
I'm quite fond of Clojure's model, but some tradeoffs had to be made.