Does Cap'n Proto guarantee that generated payloads are byte-for-byte 
identical when generated from different systems?

A prerequisite for this is ensuring that key serialization order is 
consistent when serializing map/dicts. There are other sources of 
nondeterminism though. [1]   My use case is storing payloads in a Merkle 
tree, where each node is SHA2'd, and may be generated from different 
languages.


[1] protobuf determinism 
https://stackoverflow.com/questions/31208725/is-protocol-buffer-serialization-output-fully-deterministic

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to