Coder Social home page Coder Social logo

Comments (15)

sogamoso avatar sogamoso commented on June 23, 2024

👍

from capnp-ruby.

guilleiguaran avatar guilleiguaran commented on June 23, 2024

@tarcieri agree totally on this!! 👍

from capnp-ruby.

Spaceghost avatar Spaceghost commented on June 23, 2024

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

from capnp-ruby.

tarcieri avatar tarcieri commented on June 23, 2024

@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.

from capnp-ruby.

findchris avatar findchris commented on June 23, 2024

👍

from capnp-ruby.

tarcieri avatar tarcieri commented on June 23, 2024

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.

from capnp-ruby.

findchris avatar findchris commented on June 23, 2024

Thanks for the update @tarcieri. Sounds promising.

from capnp-ruby.

peakxu avatar peakxu commented on June 23, 2024

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

from capnp-ruby.

tarcieri avatar tarcieri commented on June 23, 2024

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

from capnp-ruby.

ermanc avatar ermanc commented on June 23, 2024

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

from capnp-ruby.

tarcieri avatar tarcieri commented on June 23, 2024

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

from capnp-ruby.

kentonv avatar kentonv commented on June 23, 2024

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

from capnp-ruby.

kentonv avatar kentonv commented on June 23, 2024

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

from capnp-ruby.

tarcieri avatar tarcieri commented on June 23, 2024

@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.

from capnp-ruby.

guilleiguaran avatar guilleiguaran commented on June 23, 2024

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)

from capnp-ruby.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.