Cap'n Proto

(capnproto.org)

33 points | by tosh 2 days ago ago

3 comments

  • commandersaki 16 hours ago ago

    I worked on a project integrating capnproto under the directive we wanted something highly performant. I was then told to scrap it for protobuf because the wider company had better knowledge in that area and it was used elsewhere. I was just contracting by giving a helping hand so I wasn't fully aware of this. But in doing all of this, I had the chance to benchmark both capnproto and protobuf, and I had gotten slightly better performance results from PB. This was all in C++.

  • noitpmeder a day ago ago

    Looks like this has been around for over a decade now. I'm surprised I haven't heard of it until now.

    If, as advertised, it's significantly better than protobufs, why hasn't it gathered more steam/adoption? If presented correctly it sounds like a great alternative/replacement to things like JSON, proto, SBE messages, ... Especially in the realm of backwards/forwards compatibility.

    Has anyone tried this out and ended up switching BACK to a more widely used alternative? If so, why?

  • jauntywundrkind 20 hours ago ago

    Also note cap'n web, which is half a year old more web friendly version, https://news.ycombinator.com/item?id=45332883 https://blog.cloudflare.com/capnweb-javascript-rpc-library/