News for hackers. Stuff that matters.
Re:The Sandstorm Team Is Joining Cloudflare by nurettin on Tuesday March 14, 2017 @01:00AM (#13865134)
I use protobuf-generated RTTI for the purpose of doing endpoint SQL storage of the messages. (tables, columns, foreign keys, insert/select statements are all auto-generated from the protobuf message) using C++.

Does capnproto provide similar RTTI information to walk through properties or recurse into other messages?

Re:The Sandstorm Team Is Joining Cloudflare by kentonv on Tuesday March 14, 2017 @02:00AM (#13865364)
Absolutely. I was the one who originally designed the Protobuf RTTI (aka "reflection") interface, after all... :)

It's actually considerably easier to implement for Cap'n Proto since the in-memory objects are actually backed by byte buffers containing the wire format. No need to compute offsets of class members (which technically violates the C++ standard though it works on all compilers).