37 ms·
Does it support IDL and zero-copy access? That's a must for safe and fast parsing and general ease of use.
by goodpoint 5y ago
Does it support IDL and zero-copy access? That's a must for safe and fast parsing and general ease of use.
- kstenerud 5y agoZero-copy access is supported for primitive and array types (int & float arrays, string types) provided the array was sent as a single chunk (multi-chunk is an exceptional case). "structs" cannot be zero-copy in an ad-hoc format (if you need that, something like protobufs is a better choice). IDL would be a level higher than the encoding layer, so yes you could use this as the encoding layer for an IDL construct.