Skip to content
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

Still working on this? (Also: contact info) #5

Open
tarcieri opened this issue Sep 2, 2014 · 15 comments
Open

Still working on this? (Also: contact info) #5

tarcieri opened this issue Sep 2, 2014 · 15 comments

Comments

@tarcieri
Copy link

tarcieri commented Sep 2, 2014

I'd love to have a mature Cap'n Proto binding for Ruby! Particularly one that works across CRuby and JRuby.

I was just talking to @kentonv about it, and this approach (MRI cext) seems reasonable for CRuby. I think the JRuby version should bind to capnproto-java, which is unfortunately much less mature than the C++ version and, AFAIK, doesn't support the RPC protocol.

Getting serialization working across both CRuby and JRuby would be a good start.

Have you thought about making a project mailing list?

@sogamoso
Copy link

sogamoso commented Sep 2, 2014

👍

@guilleiguaran
Copy link

@tarcieri agree totally on this!! 👍

@Spaceghost
Copy link

@tarcieri What about using FFI and not creating "Another damn c extension?" to quote @headius.

@tarcieri
Copy link
Author

@Spaceghost the C++ implementation does not expose a C ABI, much less an "FFIable" one (i.e. it doesn't rely on the preprocessor)

I am a huge fan of FFI and used it extensively in RbNaCl however someone would need to create an FFIable C ABI to the C++ implementation first.

@findchris
Copy link

👍

@tarcieri
Copy link
Author

There's a Ruby GSoC project underway to build a C wrapper around capnproto's C++ implementation and then re-wrap that in FFI. We'll see how it goes.

@findchris
Copy link

Thanks for the update @tarcieri. Sounds promising.

@peakxu
Copy link

peakxu commented May 6, 2016

@tarcieri, would you happen to know how the Ruby GSoC project went? Also progress on making an implementation that works for JRuby?

@tarcieri
Copy link
Author

tarcieri commented May 6, 2016

@peakxu last year's project didn't go so well, but there's another GSoC effort this year

@ermanc
Copy link

ermanc commented Jul 12, 2017

@tarcieri any chance you know how 2016 GSoC effort went?

@tarcieri
Copy link
Author

It went well, I think! It should now support RPC:

https://github.com/nemoNoboru/capnp-ruby

Perhaps it should be moved to https://github.com/capnproto

cc @kentonv @nemoNoboru

@kentonv
Copy link

kentonv commented Jul 14, 2017

@tarcieri Is it being used in prod? Is anyone actively maintaining it?

@kentonv
Copy link

kentonv commented Jul 14, 2017

(Not meant to be challenges, I'm just honestly curious.)

@tarcieri
Copy link
Author

@kentonv not to my knowledge. I'm not sure people are actually aware of it.

All that said, I think it's the most complete implementation of capnp in Ruby to date.

@guilleiguaran
Copy link

I used it on production during a time but we stopped using capnp entirely because the libs for other languages that we were using were less mature (IIRC go and node)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants