Comments (7)
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.
from cool.io.
It would be awesome to be able to use Netty/NIO for this!
from cool.io.
+1 jruby support would be awesome and would help msgpack-rpc to run on jruby too :-)
from cool.io.
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
from cool.io.
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.
from cool.io.
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:
- stability: nio4r is brand new and hasn't seen production use whereas cool.io has
- timers: nio4r does not provide a timer system (though this could be done in pure Ruby. Celluloid has one)
- filesystem monitoring: nio4r does not (but could) provide a filesystem monitoring API that uses NIO2 on JRuby
from cool.io.
We will start JRuby support on another issue.
from cool.io.
Related Issues (20)
- Easier HTTP client for cool.io? HOT 4
- Fiber-aware deferred operation HOT 4
- windows ruby1.8.7 support HOT 1
- More fine GVL release span HOT 2
- Question HOT 1
- CPU100% on Windows Server 2012 HOT 20
- JRuby support again HOT 5
- Remove Cool.io::HttpClient HOT 1
- Remove cool.io/eventmachine.rb HOT 1
- Thread#join using coolio makes a process down on Windows. HOT 3
- Example Program in README.md not worked. HOT 5
- Investigate "expected loop to be an instance of Coolio::Loop" error HOT 2
- Change FT_SETSIZE on Windows HOT 1
- Cool.io::TCPServer continues to receive data even if its close method is called HOT 3
- Could not install when using Ruby 2.5 (x64-mingw32) HOT 2
- Use github.io instead of github.com on description HOT 1
- Two test failures with IPv6? HOT 1
- cool.io v1.7.1 fat gem doesn't include Ruby 3.0 binaries HOT 1
- cool.io is no longer buildable on Ruby 3.3.0-dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cool.io.