All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Developer's Year-Long Journey Building an ASN.1 Compiler in D Programming Language

By

BradleyChatha

7mo ago· 23 min readenInsight

Summary

A developer shares their year-long journey creating an ASN.1 compiler in the D programming language called 'dasn1'. The article details the technical challenges of implementing ASN.1 (Abstract Syntax Notation One) specifications, including handling complex encoding rules like BER, DER, PER, and XER. The author discusses their motivation stemming from work on a toy async I/O framework called Juptune, and explains why they chose D over other languages. The compiler is still a work in progress, with the post focusing on implementation details, tool output examples, and technical insights rather than promoting the incomplete tool.

Key quotes

· 5 pulled
I'm currently writing Juptune - a toy async I/O framework that attempts to implement as much of its stack as possible in pure D
ASN.1 is a standard for describing data structures and encoding rules for serialization and deserialization
The name of the tool is dasn1
This post is unstructured, so you can just pick somewhere random and start reading from there with no/minimal context lost
...and it's still nowhere near complete
Snippet from the RSS feed
Published: 2025/10/23 | Updated: 2025/10/23

You might also wanna read