All: I started the process of writing a Java version of the EM reactor core to enable interoperability with JRuby. The idea is that any EM script written in Ruby will run unchanged on JRuby as well as on MRI. So far I have TCP clients and servers working. Performance is pretty darned good, although scalability isn''t as good as with the C++ version. (Forget about trying to accept 20,000 sockets in a single process in 5 seconds. For that, stick to the C++ version.) To see the code, sync to SVN head, and look in experiments/jruby-1. This is very early code, not performance-tuned at all. If there are any Java gurus out there, I really want to hear your high-performance tips. As far as I know, high performance in Java is all about not creating a lot of garbage and not copying memory unnecessarily, and the various library functions behave differently in respect of those two goals. So if you see something in the code that I missed, don''t keep it a secret! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070716/a076e7a9/attachment.html