Hacker News new | ask | show | jobs
by OhMeadhbh 245 days ago
Ack. I wrote an ASN.1 compiler in Java in the 90s. Mostly just to make sure I understood how it and BER/DER were used in X.509. I think the BER interpretation bits are still being used somewhere

I'm sorry you had to waste a year of your life.

There are few things I dislike more in the computing world than ASN.1/BER. It seems to encourage over-specification and is suboptimal for loosely coupled systems.

But it looks like you had a decent time...

2 comments

I've been enjoying my time with the project overall, but it's one of those things where it's like "it hurts in a mostly good way".

I think if I were more seasoned with ASN.1 itself, as well as with compiler development it'd have been a smoother experience.

Though I definitely still could've chosen more higher value things to do throughout the last year :D

"hurts in mostly a good way" -- sounds like you have a good attitude about it. Good on you!
Looking at the comments, it seem that many people hate ASN.1 and many people like ASN.1 (I am the latter). (I consider BER to be messy and overly complicated, but DER is much better.) (I wrote a implementation of DER (decoding and encoding), although not the schema format (which I have never needed).)
I'm in the camp of I like it, but I also love to complain about things (see: my inability to say "I love D" without also bringing up other faults).