Topic
Everything filed under Programming Languages, newest first.
RSS · JSON · All topics
Automatic Checking of Compiler Correctness with E-Graphs
MIT professor Adam Chlipala describes CSAIL research on using e-graphs to automatically check that compiler optimizations are correct, as part of his series on building correct, efficient programs from proven rewrite rules.
13 min · 2,942 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
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 to Bypass Rust's Orphan Rule
Edmond Vong explains what Rust's orphan rule (E0117) protects against, why building impls into the library or NewType wrappers fall short, and how adding a generic context parameter to a trait lets a models crate stay decoupled.
13 min · 2,884 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
Enabling the parallel frontend on nightly
The Rust compiler team is enabling the parallel compiler frontend by default on nightly to surface remaining bugs before stabilization, and explains the context, expected speedups and how to report issues.
6 min · 1,300 words
clice v1.0 Released: Welcome to Modern C++
ykiko announces the first stable release of clice, a new C++ language server, after 1,000 commits and four months of alpha testing, explaining what it does, why it was built instead of improving clangd, how the project got here, and where agents fit in.
19 min · 4,442 words
Writing from a part-time job on a Lisp compiler, the author explains Kildall's dataflow analysis algorithm and how it is used for analyses such as escape analysis in a Lisp compiler's intermediate representation.
13 min · 2,879 words
A technical vision for the Haskell ecosystem
The Haskell Foundation's newly bootstrapped technical leadership committee lays out its vision and strategy for the Haskell ecosystem and invites companies, contractors and volunteers to help fund and execute initiatives.
5 min · 1,066 words
Why Zig Over C for Systems Programming
Mihalis Tsoukalos walks through what C gets right, the parts of C that cost him time, and how Zig addresses them with comparable low-level control, no runtime, and compiler and debug-mode checks that catch mistakes C lets through.
7 min · 1,565 words
Laurence Tratt describes ykifying CPython: using the yk meta-tracing system to add a JIT compiler to the large CPython interpreter, walking through optimising interpreter dispatch, tracing, unrolling and indirect inlining, and showing ykcpython can be surprisingly competitive on performance.
27 min · 6,157 words
C3 0.8.6 - Let's grab those libraries
C3 0.8.6 adds revamped library fetching with a simple repository protocol, versions and checksums, a target for packaging full-source libraries, faster compilation, one-third smaller safe-mode binaries, and stricter type rules from a review of casts, vectors and calling conventions.
20 min · 4,687 words
Let’s Write a PostScript Interpreter
A brisk walkthrough of implementing an interesting subset of the PostScript language from scratch, as an example of a human-scale language a single person can build on readily available tools.
11 min · 2,629 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
The Rust 1.100.0 release stabilizes the never type, the Allocator API and DropGuard, adds Cargo reporting for unused dependencies, reduces Cargo cache collisions, introduces min-publish-age dependency cooldowns, and stabilizes a batch of new APIs.
9 min · 2,050 words
Kyle Kingsbury announces hegel-clj, a Clojure interface to the Hegel generative testing library, and explains the frustrations with test.check that motivated it and how Hegel's design improves generative testing.
9 min · 2,116 words
Lexifina describes formalizing parts of the US tax code in the Lean theorem prover and using formal search over the encoded rules to identify novel loopholes.
14 min · 3,161 words
Eli Bendersky's tutorial on using monads in Lean 4, starting from an expression evaluator with Option-based failure handling and building up through the Monad type class, do-notation, logging, Except and monad transformers like OptionT.
11 min · 2,423 words
David Andrews and Chao Zhang describe pointing AI agents at CPython to rewrite its C functions line by line in Lean: 613,318 lines of machine-checked Lean, each piece differentially tested against real Python, with 418 bug reports in Python surfaced along the way.
12 min · 2,866 words
Memory management in 40 major C projects, a survey
Phil Eaton surveys how 40 major C projects allocate memory: only 8 use malloc/free alone, only 2 never use it, 15 use regions at some point, 7 primarily use regions, 5 primarily use garbage collection and 3 primarily use reference counting.
5 min · 1,090 words