▲ | cryptonector 5 days ago | |||||||||||||||||||||||||||||||
This. Plus ASN.1 is pluggable as to encoding rules and has a large family of them:
ASN.1 also gives you a way to do things like formalize typed holes.Not looking at ASN.1, not even its history and evolution, when creating PB was a crime. | ||||||||||||||||||||||||||||||||
▲ | StopDisinfo910 5 days ago | parent [-] | |||||||||||||||||||||||||||||||
The people who wrote PB clearly knew ASN.1. It was the most famous IDL at the time. Do you assume they just came one morning and decided to write PB without taking a look at what existed? Anyway, as stated PB does more than ASN.1. It specifies both the description format and the encoding. PB is ready to be used out of the box. You have a compact IDL and a performant encoding format without having to think about anything. You have to remember that PB was designed for internal Google use as a tool to solve their problems, not as a generic solution. ASN.1 is extremely unwieldy in comparaison. It has accumulated a lot of cruft through the year. Plus they don’t provide a default implementation. | ||||||||||||||||||||||||||||||||
|