Mista_T
Green Marine
Posts: 46
Registered: 12-05 |
This is gonna motivate me to rework my (really, really awful) Doom data structure library for Java. What the hell was I thinking using Vectors to hold map data objects? SYNCHRONIZED structures being used in implementations that are most likely single-threaded? Ugh.
Anyway, to contribute to the programming discussion, I concur with the sentiment that most programmers fresh out of college can't code for crap in Java. I've seen Java code written by people that have absolutely no idea how to write Java code that is, performance-wise, computationally viable. While Java implementations are getting better with memory management and virtual machine performance, no Java program will ever perform as well as it should if it is written haphazardly.
Some words to budding Java programmers: Avoid using the "+" operator with String objects. Please. java.lang.StringBuilder is your friend.
Some more words: Sun's JRE is at the point where it is about 1x slower than native code, and kicks the crap out of C in terms of memory de/allocation and stack call performance. It ain't yo momma's programming language anymore. ;)
|