4 ms·
I agree with this, and I think that overall the Chesterton's Fence principle should be applied more in software engineering. What's hard is finding a set of "t
by bri3d 5y ago
I agree with this, and I think that overall the Chesterton's Fence principle should be applied more in software engineering.
What's hard is finding a set of "thoroughly modern" ASN.1 implementations that work together, and trusting that they will do so. The name is overloaded by the years of revisions and cruft.
- cryptonector 5y agoFabrice Bellard has a proprietary ASN.1 compiler that looks very modern and very very featureful. Heimdal's ASN.1 compiler is getting to where we should separate it and make it a standalone project. It's really quite featureful, and it's also getting to where adding support for PER, OER, NDR, XDR, XER, JER, and other things should be quite easy: just write a bytecode interpreter for each of those. I only need NDR and JER, so I'll be adding those (already it can dump values as JSON, but it's not quite JER compliant). Also, I've begun adding support for dumping ASN.1 modules (not just values) as JSON with an eye towards rewriting the codegen and bytecode generator in jq, and then maybe adding support for targeting languages other than C. It really helps to have a decent implementation to stand on for this, and I am really standing on the shoulders of giants here.