Hacker News new | ask | show | jobs
by jbert 4292 days ago
When bytes count (and they often don't, but in this case they probably do), what would be your preferred system? And what do you see as your favoured approach's main advantage(s) over ASN.1/BER?
1 comments

ASN.1/BER is a pain in the ass. I'd rather gzip json. Or poke chopsticks in my eyes.

(creds: http://tools.ietf.org/html/rfc1697)

^ What that guy said. ASN.1 parsers are super complicated and have been the cause of remote exploits more than once.
I'd say that is by design.
MIBs are not ASN.1, actually.