Java vs. C Performance
Recorded at:
- Share
-
- |
Read later
My Reading List
Java vs Java software
by
Jeff Hain
but in practice (observed it at large scale) having a GC can hurt performances
(other than due to pauses), in that having to manage memory explicitly forces the
otherwise careless devs (apparently a large majority) to:
1) Be used not to create too many things, else they'll have much cleanup
to do (whereas GC makes it easy to do things like "new Jungle().getBanana()",
ending up with more memory and CPU usage.)
2) Be used to clean up obsolete information at the technical level,
hence at the domain level (whereas GC makes it easy to just pile up data
in maps, and forget to remove it when obsolete, ending up with both
memory leaks and possible bugs due to obsolete data usage.)
When people say "Java is slow" they might actually mean "Java software is slow",
and that's more likely to be true.
Hope I didn't start a flamewar ;)







Hello stranger!
You need to Register an InfoQ account or Login or login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think