2 ms·
What's the alternative? Binary protocols tend to be dependent on machine specifics such as endianness and alignment requirements, which would be a non-starter o
by zozbot234 4y ago
What's the alternative? Binary protocols tend to be dependent on machine specifics such as endianness and alignment requirements, which would be a non-starter on a network-focused OS like Plan9 - as well as poorly extensible and not always properly documented. There are some well-known pitfalls wrt. text formats, such as parsing and emitting floating point numbers (which is why hexfloats are a thing) but for mostly everything else they're good enough.
- AnIdiotOnTheNet 4y agoThere is no reason that binary protocols have to rely on endianess or alignment. Reversing or realigning a field is orders of magnitude faster than parsing text, so just pick one and stick with it.
- sanxiyn 4y agoNote that 9P is in fact a binary protocol.