socketry / cool.io

Simple evented I/O for Ruby (but please check out Celluloid::IO instead)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jruby compatibility

bluescreen303 opened this issue · comments

Right now, installing on jruby fails because iobuffer uses c extensions.
Since cool.io aims to be mostly ruby, it would be very nice if a java alternative was available for those small c parts, so we can use cool.io with jruby.

I've released iobuffer 1.0.0 which includes fixes needed to build as a C extension under the latest development versions of JRuby.

There's a lot more work needed to get cool.io to work as a C extension under JRuby. I've discussed a lot of this with Charlie Nutter. I believe the last part we ran into that's missing from JRuby C extension support is the rb_thread_blocking_region() function.

Well, it's nice to know JRuby is at least on your radar.
I'm not gonna switch to cool.io this instant anyway, but I do like its api better than eventmachine. So if jruby support is at least being worked on that's a great sign.

I'm a big user of JRuby and would really like for it to work on JRuby.