Java IO Faster Than NIO
rsk writes "Paul Tyma, the man behind Mailinator, has put together an excellent performance analysis comparing old-school synchronous programming (java.io.*) to Java's asynchronous programming (java.nio.*) — showing a consistent 25% performance deficiency with the asynchronous code. As it turns out, old-style blocking I/O with modern threading libraries like Linux NPTL and multi-core machines gives you idle-thread and non-contending thread management for an extremely low cost; less than it takes to switch-and-restore connection state constantly with a selector approach."
select() sucked the life out of me in the 90s and I don't think I'll ever recover...
This comment does not necessarily represent the views and opinions of the author.
Perl is not New Fangled. I am sorry to say Perl is one of those .COM languages that has sparked peoples interest for a few years but have settled down to niche language. So it is now an Old School Language... Sorry...
:o
GET OFF MY LAWN!
"Convictions are more dangerous enemies of truth than lies."
Tape a piece of cardboard over it.
Some people are less afraid of SkyNet than they are of regular expressions.