Topic
Everything filed under Programming, newest first.
RSS · JSON · All topics
TIS-100 Bench: LLMs Push the Pareto Frontier in Programming Puzzle Games
Wincon gave 16 LLMs the puzzle game TIS-100 and its manual, withheld the community leaderboard, and let them keep optimizing. The models found 133 new Pareto frontier points on 18 of 55 puzzles, including 3 outright cycle records, and players quickly improved on them.
17 min · 3,982 words
Why this Obscure Audio Codec is a Perfect Fit for the N64
Dominic Szablewski (phoboslab) explains why the ULC transform codec suits the Nintendo 64, delivering 44.1 kHz stereo at near-Opus bitrates using about 4% of the console's CPU time, after surveying earlier N64 audio options.
8 min · 1,893 words
I Dumped Apple's Fucking Word List
Helge Sverre digs into macOS's VulgarWordUsage.db and the system dictionary's hidden vulgar, offensive and sensitive tiers and topic flags, reads them via private Lexicon.framework functions with C and Swift code, and dumps the lists for 15 languages, with some surprising entries.
14 min · 3,219 words
How //go:embed Works: From Source Files to Binary
A guest post by Ainsley Clark on Internals for Interns that explains what the //go:embed directive is, how to use embed.FS, how the go command, compiler and linker carry embedded files into the binary, how the runtime reads them, and the tradeoffs involved.
24 min · 5,517 words
Finding Xanadu: Inside a JRPG classic translation 15 years in the makingPlus this oversized issue features interviews for two more human-made fan translations that prove the world hasn't fully gone to slop.
Wes Fenlon talks with the translators and hackers behind The Legend of Xanadu's 15-year English patch, plus The Curse of Ogaeritō and Nintendo's Time Twist, about the unglamorous work of human fan translation.
26 min · 6,093 words
Moment of Ruby: an argument for nothing
Chris Zempel of Aha! Engineering shows a tiny Ruby idiom using an undefined default object so a method can tell omitted arguments from explicit nil or false when acting as both getter and setter.
2 min · 442 words
Farid Zakaria explains how Rewind, a deterministic VM, represents guest time for faithful replay, and why counting retired conditional branches beats instructions or exits as the default clock.
5 min · 1,162 words
Trapped in the Technologist Factory
Zach Tellman reflects on being paid to use Clojure two years after its release at the startup Runa, and on how engineers learn judgment by adopting new technologies and failing, asking what happens to that path when junior engineers are told to stick to boring tools.
13 min · 2,940 words
Prospero: a new coding harness for a more civilized age
Chris Wellons introduces Prospero, a minimalist coding agent harness he built for running local open-weight LLMs, explaining his design choices and how it compares with heavier, cloud-oriented coding harnesses.
8 min · 1,906 words
If-then-else had to be invented
Eric Fischer's illustrated talk traces the history of conditional expressions in programming, showing that the familiar if-then-else construct was not obvious and had to be invented, from early machines and the three-way IF of Fortran and Flow-Matic to John McCarthy's LISP conditional and ALGOL.
8 min · 1,909 words
David Priver shows the simple, correct way to loop backwards over a buffer with an unsigned size_t counter in C, avoiding signed-index conversions and off-by-one bugs he says he keeps seeing, even more so in LLM-written code.
2 min · 444 words
How hard is it to check for whitespace?
Sergey Tselovalnikov follows Guava's surprisingly complex isWhitespace matcher down a rabbit hole into Unicode's many whitespace characters, how different languages define whitespace, and the perfect-hashing trick that makes the check fast.
6 min · 1,375 words
Fraktur: A DJ mixing app in the browser
A former festival DJ explains why they built Fraktur, a DJ mixing app that runs in the browser and on desktop without subscriptions or an internet connection, after finding today’s DJ software discontinued or subscription-locked, and covers how it works including tempo analysis and local library storage in IndexedDB.
9 min · 2,162 words
Avoid Public Functions Calling Other Public Functions
Alex Kladov (matklad) offers a small-scale rule of thumb: instead of having one public function call another, factor the shared logic into a private helper both call, because public functions serve different callers and their behaviour tends to diverge.
2 min · 529 words
How curl was accidentally Turing-complete for nine months
Nicolas Seriot shows that from curl 8.12 through 8.16, config-file variable slicing plus uncapped config includes let curl simulate any two-counter Minsky machine, making it Turing-complete in principle until curl 8.17.0 added a five-level include cap.
2 min · 457 words
Ben Griffiths explains how to render filled bezier shapes and SVGs, contrasting Skia's triangulate-and-rasterize approach with Cairo's flattening into line segments, and argues that 300 lines of a little-used language might be worth more than a million lines of C++.
4 min · 999 words
The Shift of Theseus — Toy Bit Provenance Abstract Domain
CF Bolz-Tereick extends PyPy's Toy Optimizer with a bit provenance abstract domain that tracks where each bit of a value came from, letting the JIT recognize shifts, masks and identities across instruction sequences that a known-bits domain misses, with transfer functions, rewrite extraction and an evaluation on Pydrofoil and PyPy.
25 min · 5,858 words
Billion-query-per-second lookup tables in C++
Daniel Lemire shows how to replace std::unordered_map for small, compile-time-known string sets (HTTP methods, headers, keywords) with a constexpr perfect hash, cutting each lookup to a single comparison and about five cycles, and shares a single-header C++ library and benchmarks built with Francisco Geiman Thiesen of Microsoft.
5 min · 1,221 words
Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from ExplorerMimicking the operation more accurately.
Raymond Chen explains why a customer’s program failed when launched from a batch file but worked from Explorer: Explorer sets the current directory to the program’s folder, so programs that look for ancillary files there break unless the batch file changes directory first (e.g. with pushd/popd).
1 min · 261 words
Michiel W. Beijen revives the PineTime open smartwatch with an up-to-date upstream MicroPython and wasp-os, explaining what it took to port the firmware forward and what the hackable watch is good for.
5 min · 1,157 words