Developer's Year-Long Journey Building an ASN.1 Compiler in D Programming Language
By
BradleyChatha
A baker's-dozen of insight crammed into one ring.
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 pulledI'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
You might also wanna read
Technical Issues Blocking Swift 6.0 Release from Experimental Status
The article documents technical issues blocking Swift 6.0 from moving out of experimental status, focusing on CMake integration problems. It
Technical Documentation: Renaming clawdbot to moltbot with Legacy Compatibility
This article documents a technical refactoring project where the 'clawdbot' repository has been renamed to 'moltbot' while maintaining legac
Technical Analysis of Codex CLI's Agent Loop Architecture
This article provides a technical deep dive into the Codex CLI, a cross-platform local software agent designed for producing high-quality so
PolyGerrit Code Review Requires JavaScript Enabled in Browser
The article is a technical notice informing users that JavaScript must be enabled in their browser settings to use PolyGerrit, a code review

Understanding JSON Schema Terminology: Schemas, Dialects, Vocabularies, and Metaschemas Explained
This article provides an accessible guide to understanding the complex terminology of JSON Schema, breaking down confusing concepts like sch
Why Average LLM Use Is Likely Destroying Value in Software Development
The author argues that, contrary to prevailing hype, the average use of Large Language Models (LLMs) is likely destroying value rather than
