On Mar 11, 2013, at 10:30 AM, Tobias Oberstein <tobias.oberst...@tavendo.de> 
wrote:

> 
>> Note that the primary missing criterion from this ticket is the presence of 
>> a buildbot running Jython.  Any chance you'd want to contribute another bot 
>> for this purpose?
> 
> Hi Glyph,
> 
> Ok. Makes sense. That would likely bring up some issues with Jython/Twisted 
> then, which we could address ..
> 
> Apart from that, my guess is that another important area might be reactor 
> support .. as far as I can see Jython as some Posix wrappers which makes it 
> run on Windows only with the less-than-stellar Windows-Select stuff, not IOCP 
> or such. Same might apply to BSDs and Linux (don't know if they have wrappers 
> for kqeue/epoll).
> 
> At least from my totally unscientific performance measurements with 
> Autobahn/Twisted, Jython/SELECT is slower than CPython/IOCP, not to speak of 
> PyPy on stuff like kqueue/epoll ..

This is to be expected; Jython generally isn't very fast.  If you want speed, 
use PyPy; it's going to be considerably faster than everything else.

If you want to make a Jython-specific reactor for performance or 
platform-feature reasons, that would be a separate task, well after the basic 
select reactor and all of our support code works on Jython :).

-glyph
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to