Topic
Everything filed under Programming, newest first.
RSS · JSON · All topics
SSH into DOS: I wrote an x86 emulator
The author of Dialup.net describes building Farcall, an emulator for the original IBM PC and its 8088 CPU that you can SSH into to land in DOS and run Zork, NetHack, GW-BASIC, Sopwith and Digger, and explains how the emulator and terminal graphics work.
13 min · 2,983 words
kqr of Entropic Thoughts describes using the community fork of Maiao to work with stacked diffs in git, how the workflow compares with keeping a branch per atomic change, and the pitfalls of dependent and independent changes.
11 min · 2,532 words
Making Games in Go: Entity Component System (ECS)
Miłosz Smółka of Three Dots Labs walks through the Entity Component System pattern for 2D games in Go using the Donburi library, from entities and systems to archetypes, events, and a fuller pufferfish game example.
29 min · 6,616 words
Ryan Carniato announces Solid 2.0 reaching stable after five years of work: async in the reactive graph, server functions, diagnostics built for AI coding agents, and a smaller API surface.
8 min · 1,725 words
C's designated initializers give us named arguments
Arthur O'Dwyer shows a pattern from Ben Klemens' 21st Century C that uses C's full designated initializers and a variadic macro to give functions named, defaultable arguments, and discusses its ABI and library-design tradeoffs.
3 min · 775 words
How Rust Changed Me As A Developer
Martijn Faassen reflects on how years of developing in Rust changed the way he thinks about software, and why that experience still matters as AI shifts the tradeoffs in development.
16 min · 3,747 words
lucyNES: a NES emulator written in Odin
Lucy introduces lucyNES, a solo NES emulator written in Odin between April 2024 and January 2025, with notes on the project and debugger, menu and game showcase screenshots; source is on GitHub.
5 min · 1,168 words
500 Lines or Less: A 3D Modeller
A chapter from the 500 Lines or Less book (CC BY 3.0) walking through building a small interactive 3D modeller in Python with OpenGL: scene graph data structures, rendering, picking, and user interaction for CAD-style editing.
32 min · 7,312 words
Periodic-Oriented Programming for FIRST Robotics
After 17 years writing FIRST Robotics Competition code, Ben Visness argues WPILib's command-based style overengineers robot programs and shows a simple periodic, plain-function approach he teaches students instead.
11 min · 2,544 words
Creating a self booting ZIP archive
David Oberhollenzer builds boot.zip, a completely normal ZIP archive that contains its own source code and is also bootable via BIOS and Multiboot, walking through ZIP format polyglot trickery, the Multiboot header and booting on bare metal.
17 min · 3,879 words
Steinar H. Gunderson strongly solves the Norse Fox Game (halatafl): with perfect play the sheep win, even with 19 sheep (18 moving first), and 9 sheep can force a draw. He explains the bitboard representation and retrograde search behind his ~1000-line solver.
9 min · 2,096 words
Probabilistic data structures in Go
An explainer on Bloom filters, count-min sketches, HyperLogLog, t-digest and top-k sketches: how they trade exactness for memory, what guarantees they give, and an introduction to unsure, a dependency-free Go package implementing them.
22 min · 5,130 words
How Not to Build a Music Player
Prompted by Iran's internet blackouts, Zig team member Ali Cheraghi recounts building AMP, an offline music player with line-synced lyrics, including the false starts along the way, its v0.1 release, and the roadmap to v1.0.
4 min · 831 words
CF Bolz-Tereick looks back on 20 years of Pyrolog, an RPython-based Prolog implementation begun in 2006 inside PyPy, covering its role in PyPy's JIT work, continuation-based architecture, compressed terms, Unipycation, Pycket, Effekt and a 2026 git conversion.
13 min · 3,070 words
Fixing a WebKit bug to see if promises are made of train tracks
A deep dive into a JavaScriptCore bug where a promise whose Symbol.species getter throws made await hang in Safari and Bun instead of throwing, how it was fixed, and what it reveals about how promises and thenables work.
11 min · 2,489 words
An approachable introduction to the ML module system: structures, signatures, and functors, and how signatures act as encapsulation boundaries that let code be reasoned about and refactored modularly.
13 min · 2,881 words
SSA from bytecode: imperative pearl
Max Bernstein explains how ZJIT converts CRuby's stack-based YARV bytecode into a high-level SSA IR, distilling the approach behind its large add_iseq_to_hir function into a small imperative algorithm, with references to prior compiler work.
4 min · 1,002 words
Michael Kohl shows a small, dependency-free BitFlags implementation for C-like bit flags in Ruby that works with pattern matching, and argues for single-file libraries over gems.
2 min · 473 words
For the first time, a C++ standard failed to pass the national bodies
Mond looks at the C++26 draft failing national-body approval for the first time, walking through what happened in WG21, the disputes over national-body comments, standard-library hardening and non-ignorable Contracts, and what it says about C++ governance.
15 min · 3,516 words
30 years of Internet transfers with curl
curl maintainer Daniel Stenberg marks 30 years since Rafael Sagula posted httpget 0.1 on November 11, 1996, the ~100-line C tool that became curl, and looks back at the project's history, milestones and the people who kept it going.
20 min · 4,508 words