[nylug-talk] Why does "enterprise" imply "Java"?
Michael Bacarella
Fri Jul 7 15:52:11 EDT 2006
On Fri, Jul 07, 2006 at 03:44:50PM -0400, Felix Shnir wrote:
> Honestly though, everything depends. I tend to google such stuff....
>
> http://www.idiom.com/~zilla/Computer/javaCbenchmark.html
>
> First reponse... Speed depends on the applications. What does it tell you
> that C completed a loop faster than Java? Absolutely nothing, you didnt
> acutally do any work...
What they mean is that this isn't a typical application. And they're right.
Most applications spend wall clock time sleep()'ing because they're waiting
for stuff to happen. Like user input, or disk access to complete, or
a server to respond. Or, put another way, the CPU isn't the bottleneck,
so making it chew data faster isn't going to matter if you spend 90% of
your time waiting for the slow disks to feed data to you.
But if you're trying to crunch lots and lots of numbers, the kind that could
run a single CPU hot 100% for a century, C vs. Java might be the difference
between decades of processor time.
More information about the nylug-talk
mailing list