3 ms·
Protocol buffers exist to solve two problems you list, parsing overhead and backwards compatibility.
by jrockway 8y ago
Protocol buffers exist to solve two problems you list, parsing overhead and backwards compatibility.
- jcims 8y agoI always wondered why ASN.1 never really seemed to take off. Tooling maybe?
- acdha 8y agoYes - both the protocol and tooling are expensive to support, even by 90s standards. Unless you have to use it for compatibility with a service you can’t fix it’d be much better to start with a better implementation of the concept.
- throwaway2048 8y agoASN.1 has a number of problems with equivalent parsings (very bad in a security context, has been the source of a number of TLS vulnerabilities), as well as the fact that even discovering if two ASN.1 parsers will give the same result is undecidable.