-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby support #21
Comments
It depends on how large part is written in Java, but I think it should be better maintained separately and there could be some tricks in loading on the pure-Ruby gem part and such a change request is welcome. |
We could have a shared implementation entirely in Ruby but there are a number of issues with the current implementation:
Given the importance of Set for concurrent code, JRuby can't use the existing set.rb... and realistically, CRuby should not be using it either if there's any concurrent operations happening. I believe Ruby needs to have a concurrency-safe, efficient implementation of Set going forward. |
For performance and Java integration reasons, JRuby provides a native implementation of the
set
library. We would like to be able to use the gem, and our users will eventually add the gem to their bundles, so we need an answer. This will probably mean importing our extension into the gem, or we push a separate gem with our extension and load it from the pure-Ruby gem.I will handle making the changes necessary.
The text was updated successfully, but these errors were encountered: