3 ms·
Same reason we use other "inefficient" protocols like json or HTTP and not "superior" binary alternatives.
by lmilcin 6y ago
Same reason we use other "inefficient" protocols like json or HTTP and not "superior" binary alternatives.
- panpanna 6y agoSo what do you think of CBOR being used in new IETF standards?
- lmilcin 6y agoI don't think anything about it because I do not care. Just because binary protocols exist it does not undermine convenience of text protocols. You are free to use CBOR for your configuration files for your next application. Then come back and tell us of your experiences. Git uses text hashes in many, many places. This makes it convenient for the users which is very important design goal. I am pretty sure that replacing this with binary hashes would be insignificant performance improvement.
- the8472 6y agohttp2 is in fact binary, it's only converted to a text representation for human convenience when needed, the same can be done with other protocols.
- lmilcin 6y agoHTTP 2 only recently reached 50% adoption.