Re: [capnproto] Generated files .h and .c++

2021-05-04 Thread 'Kenton Varda' via Cap'n Proto
The tables are used to support the "schema" and "dynamic" APIs (aka "reflection"). These APIs are useful for a bunch of things, and in particular they are used to implement text stringification of messages (e.g. for debugging) and JSON conversion. I think some code is also generated in the .c++ fi

[capnproto] Generated files .h and .c++

2021-05-04 Thread Nogueira
Hi, I have been using capnproto to perform serialization and de-serialization using mmap. Works pretty well and it's fast! I noticed I'm able to compile and use code without the generated .c++ file, which seems to have some hardcoded tables in it. What exactly is the c++ file used for? Am I enc