Replies: 4 comments 1 reply
-
Have you tried passing around a |
Beta Was this translation helpful? Give feedback.
-
I think one thing that confused me is that I expected Unfortunately I have many more questions :) Let me know if this is not the right place to ask the followups...
Thanks for your patience... |
Beta Was this translation helpful? Give feedback.
-
Maybe we should generalize the
There is some explanation of The main thing is that if there is an existing value in the field, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the What are the typed variants solving? Granted I only wrote toy code, but I don't see a big difference compared to the plain builder/reader. So if it's not buying much and is not fully integrated, I'm happy to stay clear, but I'm curious what the intent is. (and after that I think I'll be good for a little while :P) |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm investigating using capnproto serialization as a replacement for protobufs. I've looked at the examples, but I'm confused by what the API is trying to push me to do. I see the point of the various Builders, to set up an object that has the appropriate memory layout. But then in my use-case I'd expect to pass around the structured data in read-only format, and only eventually send it / store it. So what do people do in similar cases? Turn the Builder into a reader? Is this equivalent to serializing and passing it to a reader? The types are very bulky and none of the examples seem to show the life of an object besides immediate serialization/deserialization...
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions