exocore icon indicating copy to clipboard operation
exocore copied to clipboard

Switch serialization to protobuf & remove capn' proto

Open appaquet opened this issue 5 years ago • 0 comments

capn' proto was chosen to prevent extra memory allocations in the chain, which turned to be complicated to achieve because of Rust's memory safety. Ex: there is no safe way right now to read a capn' proto message from an arbitrary bytes slice because of alignment concerns.

On top of that, for a proof of concept, using a single message serialization makes more sense.

appaquet avatar Mar 28 '20 18:03 appaquet