korrents

korrents · piece

Hash-Based Bisect Debugging in Compilers and Runtimes

Russ Cox · 18 Jul 2024 · research.swtch.com

2 korrents from this piece

Russ Cox did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. But writing a trick down is the first step to making sure everyone can do it: magic tricks can be basic but not obvious.
  2. One of the hardest things about debugging is running a program backward: there's a data structure with a bad value, or the control flow has zigged instead of zagged, and it's very difficult to understand how it could have gotten into that state.