Tag
The blog post details techniques to optimize memory usage in a C++ markdown parser, significantly reducing AST node size from 232 bytes to 16 bytes through arena allocation and pointer compression, while maintaining parsing speed.
The author built a joke programming language called bet that compiles via LLVM, uses arena-based memory management, and successfully runs the full DOOM game (56,000 lines) without code review, relying only on tests.