tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Performance of APR
Date Wed, 04 Feb 2009 17:40:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter,

Peter Crowther wrote:
>> From: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com]
>> Well, actually when it comes to IO performance Java outperforms C, so
>> I wouldn't place my money on old bets like C is faster because its C.
>> It isn't.
> 
> Specifics!

Agreed. Leon, can you provide some justification for that claim?
Presumably, the JVM uses the standard C library calls so coding C
directly to the C library will be faster than the JVM intervening and
translating those calls into C-library calls. The JIT can only optimize
so much. I'm not saying that Java is definitely slower just because it's
Java, but I suspect that "Java outperforms C for I/O" is just as apocryphal.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJ0wEACgkQ9CaO5/Lv0PBv/QCgu5OFz0WXP/kN1eGy7kGvDhlB
Yl4AoKZjSEC9l26M15fHF1xswaSRZh3J
=uapP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message