dflemstr / rq

Record Query - A tool for doing record analysis and transformation
Apache License 2.0
2.27k stars 57 forks source link

Add Cap'n Proto deserialization #149

Open debrouxl opened 7 years ago

debrouxl commented 7 years ago

Cap'n Proto ( https://capnproto.org/ ) was created by the original author of Protocol Buffers v2 (the open-source version). The lineage is obvious, but Cap'n Proto brings a significant range of improvements, at least one of which was recently implemented in protobuf: arena allocation. There's a Rust implementation, https://github.com/dwrensha/capnproto-rust .

dflemstr commented 7 years ago

This one is a bit tricky because I'd need to implement dynamic capnp parsing like I did with serde-protobuf and serde-avro. I probably can't use the existing capnp library (well, maybe the compiler part).

Would be great to get pull requests for this!