Live data from Hacker News

Cap’n Proto

capnproto.org

1–10 of 194 posts

Re: Cap’n Proto

#4
To get an overview of the area of binary interchange formats that are language agnostic, the author of Cap'n Proto does a good job in this:

https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-...

"Protocol Buffers" has been the go-to for a long time but there are more options now.

For uses where serialization/deserialization CPU time is a concern, it seems to really a question of Cap'n Proto versus flatbuffers ( https://google.github.io/flatbuffers/ ).

Re: Cap’n Proto

#5
For some reason, the banner (infinitely faster?), name, and introductory FAQ-style responses made me think the whole thing is a joke - similar to Vanilla JS [1].

Anyways, it seems like a cool project, so I'll be sure to follow its development closely.

[1]: http://vanilla-js.com/

Re: Cap’n Proto

#6
post #5

For some reason, the banner (infinitely faster?), name, and introductory FAQ-style responses made me think the whole thing is a joke - similar to Vanilla JS [1]. Anyways, it seems like a cool project, so I'll be sure to follow its development closely. [1]: http://vanilla-js.com/

I had the exact same reaction. I really had to read for a long time (including code) before deciding it was real. "infinitely faster" confused me too.

Re: Cap’n Proto

#7
post #5

For some reason, the banner (infinitely faster?), name, and introductory FAQ-style responses made me think the whole thing is a joke - similar to Vanilla JS [1]. Anyways, it seems like a cool project, so I'll be sure to follow its development closely. [1]: http://vanilla-js.com/

I had the exact same reaction. I really had to read for a long time (including code) before deciding it was real. "infinitely faster" confused me too.

I originally released it on April 1st, 2013, with the announcement post:

So, uh… I have a confession to make.

I may have rewritten Protocol Buffers.

Again.

Re: Cap’n Proto

#8
post #5

For some reason, the banner (infinitely faster?), name, and introductory FAQ-style responses made me think the whole thing is a joke - similar to Vanilla JS [1]. Anyways, it seems like a cool project, so I'll be sure to follow its development closely. [1]: http://vanilla-js.com/

I had the exact same reaction. I really had to read for a long time (including code) before deciding it was real. "infinitely faster" confused me too.

Although this is listed on the introduction page, the author is also the same person that co-founded Sandstorm.io[1].

[1] https://sandstorm.io/about

Re: Cap’n Proto

#9
Interfaces! Inheritance! Looks promising. Protocol buffers are nice for their compact encoding and multi-language generator support but as a schema language they are really cumbersome. Composition is pretty much all you get, there are no longer required fields, you can't even use enums as a key type in a map. I'm sure their use cases are not necessarily the same as mine but sometimes I miss just using plain old XML.
Post reply on HN