What is OmniNerd?

Welcome! OmniNerd's content is generated by you, the reader. Through voting and moderation we strive to highlight the nerdiest of what's around and provide content that's a little more thought provoking than other sites.

Submit New Content

Voting Booth

Choosing Sarah Palin as a Vice Presidential running mate was?

35 votes, 5 comments
1
Nerd-It
+ -

The Java bashing is inaccurate

Comment comment by scottb on 21 April 2008

I take exception to the bit about Java being "already scoffed at performance wise".

Anybody who knows the details about Java's performance knows that the performance of the JIT compilers distributed with every production-grade JVM make Java's performance quite comparable to native code. Usually within a few percent.

This is especially true in a web-server environment, where virtually all of the code rapidly becomes resident, compiled binaries... exactly the environment in which Rails runs. So, saying Rails is twenty times slower than Java is pretty much the same as saying it's twenty times slower than native binaries.

Moreover, since Rails is noted as competing with PHP and .NET, we ought to take note that those perform no better, and often worse than Java.

Finally, engineering - including engineering software - is always about tradeoffs. Space vs time, run time vs compile time, and so on. One advantage Rails has over PHP and .NET is that a Rails app can often be developed and delivered in far less time than a comparable PHP or .NET app. So you've got a tradeoff to consider - develop in PHP and spend more on programmers, or develop in Rails and spend more on production hardware.

Software rarely ever reaches "done". Most systems - again, especially web systems - are getting constant revisions, so those programmer costs aren't a fixed cost, one-time thing, they're ongoing. For one full time programmer, you can get about a half-dozen dedicated web servers at a hosting facility, so it can easily be a legitimate tradeoff.

Star This to Save in Your Profile Favorite