Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The premise of "micro" anything in Java sounds attractive. I think the JVM is awesome, but often times I go back and forth on my enthusiasm about it because my recollection is that most things implemented for it end up being bloatware (think Eclipse). In the back of my mind I can't stop thinking any given Java app may be using n times more memory than necessary [1].

By the way, I think they went overboard with the marketing. Jodd libraries are all of: efficient - elegant - fast - lightweight - micro - powerful - slick - super - tiny - versatile. It is almost like they picked a random superlative for each piece. I get the point! I see lots of projects going this route on their marketing materials and it ends up being a bit annoying.

1: http://stackoverflow.com/a/632525/855105



I don't think Java lends itself very well to doing anything light or micro by design. However, it's perfectly possible to have lightweight stuff on the JVM, Luminus http://www.luminusweb.net/ is a good example for Clojure.


Cool, Luminus is micro, lightweight, robust, and scalable.

Sorry, I could not help myself :-).

I think it would help if people backed their claims with some actual data: a memory/CPU/lines-of-code comparison against mainstream alternatives or standard libraries.


Well, the docs do start with a walkthrough of a simple application: http://www.luminusweb.net/docs

You can really judge for yourself how it compares to the alternatives you're familiar with.

In terms of memory/CPU there are plenty benchmarks out there such as the benchmarks game site http://benchmarksgame.alioth.debian.org/

A small Luminus app will take around 100megs https://groups.google.com/forum/#!topic/clojure/mQbcz82I7iI so that's pretty lightweight by most standards.

In general though while people seem to be obsessed with benchmarks of all kinds, performance is simply not going to be an issue for the vast majority of sites out there. The real question is how productive your stack is and how easy it is to work with.


How can someone can claim something written for JVM such as clojure is lightweight? At the same time saying java itself is not-weight?


Clojure lets you write code that's much closer to the problem domain, with a lot less boilerplate.

The JVM doesn't automatically mean something has to be bloated. A small Clojure web app will compile to a roughly 30 meg runnable standalone jar. That's pretty light in my book. On top of that, you get excellent performance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: