3 ms·
> In terms of data layout, 32-bit vs. 64-bit architecture only really affects pointer size. But Cap'n Proto does not encode native pointers (that obviously woul
by izacus 10y ago
> In terms of data layout, 32-bit vs. 64-bit architecture only really affects pointer size. But Cap'n Proto does not encode native pointers (that obviously wouldn't work), so this turns out not to matter.
Unless you're programming in C or C++ (or using a library from them), where size of int, long, etc. may change depending on architecture and compiler.
- jasonfsmitty 10y agoThe integer types are all specifically sized, e.g. int8, int32, etc. Same thing for unsigned integers. https://capnproto.org/language.html#built-in-types https://capnproto.org/language.html#built-in-types