Community stream
Community
Fast Unrounded Scaling: Proof by Ivy
Proof that the fast unrounded scaling implementation is correct. (Floating Point Formatting, Part 4)
Floating-Point Printing and Parsing Can Be Simple And Fast
Fast and simple conversion between floating-point and decimal. (Floating Point Formatting, Part 3)
Pulling a New Proof from Knuth’s Fixed-Point Printer
A birthday proof for Don Knuth (Floating Point Formatting, Part 2)
Floating Point Formatting
Topic Index
Pop quiz: what time was it?
Here’s a small quiz derived from some incorrect advice from an AI coding assistant. This program prints two timestamps; will they be a. Roughly the same time (ie, the same second)b. Roughly 10 seconds apartc. Something else Answer after the fold The…
Pointer pop quiz
Here’s a silly example extracted from real code. Does this program print true or false? The program prints false. Two ingredient’s locations are not the same even if they were initialised from the same constant because the Location() method returns…
Differential Coverage for Debugging
Diffing code coverage for passing and failing runs can identify suspicious code blocks.
Hash-Based Bisect Debugging in Compilers and Runtimes
Binary search over program code or execution to find why a new library or compiler causes a failure.
The xz attack shell script
A detailed walkthrough of the xz attack shell script.
Timeline of the xz open source attack
A detailed timeline of the xz open source attack, from 2021 to 2024.
Microblog: TestMain can cause one to question reality
This morning a one line change had several of us tearing up the fabric of reality trying to understand why a failing test wasn’t failing, or, in fact, being run at all. Increasingly frantic efforts to upgrade/downgrade Go, run the tests on another…
Go Changes
The way Go changes, and how to improve it with telemetry.
Go Testing By Example
The importance of testing, and twenty tips for writing good tests.
Running the “Reflections on Trusting Trust” Compiler
Ken Thompson’s Turing award lecture, running in your browser.
90 items available