-
Notifications
You must be signed in to change notification settings - Fork 32
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
Support for CZMQ 3.x? #35
Comments
thanks for flagging @colstrom . I added Ruby 2.2 support back in December an shipped a new release after not having had much time to work on the binding during 2014. It's glue between libzmq, czmq and Ruby via the MRI C extension APIs, so there's no FFI here. As a first step, mind if I take a look at the API diffs between 2.x and 3.x first, then propose some extensions here, with a preference for ones that don't require modification (just additions) to the existing binding. That way we can release small changes for testing and feedback and maintain backwards compat as much as possible for existing users. Alongside that, documentation needs some love too. And the security features (curve etc.), but I think it's a smaller error surface to handle them after API differences, OR consider security API additions as part of the czmq 2.x to 3.x upgrade. Thoughts? |
Sounds like a sane plan. A 10km view of the changes looks something like this: It looks like
There are a few new items, The release notes mention a I can look at cooking up some example docs, and I'll take a skim over the existing documentation to see where it needs the most love. Is there a preference for more implementation-focused (RDoc/YARD-style) or more example-driven with documentation of why user X might care about the functionality they're reading about? I guess I'm trying to identify the audience of the missing docs. As for the security API additions, they don't seem tightly coupled with 3.x (they seem to be carried forward from 2.x). Important, but might be easier to implement without the API shifting underneath them. |
Sounds good. Thanks for the detailed layout :-) |
@paddor I'll give that a spin, thanks! |
I'm curious what the status of CZMQ 3.x support is in rbczmq. I'm interested in working with some of the classes introduced in 3.x (specifically zactor and zgossip). If support is non-trivial to add (I haven't done much with FFI, so I'd rather not assume anything about complexity), is there anywhere that I could focus my time to assist?
On a related tangent, it looks like ffi-rzmq has gone into maintenance-only mode (within the last week or so) in favour of this project. It looks like rbczmq is the left as the main library for developing (C)ZMQ-based applications in Ruby. Exciting! ^_^
The text was updated successfully, but these errors were encountered: