Closed anildigital closed 10 years ago
No JRuby support at the moment, unfortunately :(
I've been thinking a lot about trying to add it on Netty or NIO, we'll see.
I don't have any plans to get it working via C extension at the moment.
It would be awesome to be able to use Netty/NIO for this!
+1 jruby support would be awesome and would help msgpack-rpc to run on jruby too :-)
A little bit of movement in this direction:
https://github.com/tarcieri/nio4r
This is a cross-Ruby NIO implementation that uses native Java NIO on JRuby and libev on other platforms. It could be used to replace the current cool.io C extension
How much work would it entail to implement this with cool.io? What does the current cool.io C extension do that nio4r cannot? I would love to see this happen.
I'd love to work on this, but my knowledge in C is a little rusty.
Believe it or not the overwhelming majority of the work would be in Ruby, rewriting Cool.io's guts to use nio4r in lieu of the present C extension.
The things that are missing from nio4r at the moment:
We will start JRuby support on another issue.
Does it support JRuby? I ran example with JRuby 1.6.4. It gives me
LoadError: load error: cool.io_ext -- java.lang.UnsatisfiedLinkError: Could not locate Init_cool.io_ext module entry point