4 ms·
Absolutely. I was the one who originally designed the Protobuf RTTI (aka "reflection") interface, after all... :) It's actually considerably easier to implemen
by kentonv 10y ago
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).