A complex bug with a ⸢simple⸣ fix

from blog The Universe of Disco, | ↗ original
↗ original
Last month I did a fairly complex piece of systems programming that worked surprisingly well. But it had one big bug that took me a day to track down. One reason I find the bug interesting is that it exemplifies the sort of challenges that come up in systems programming. The essence of systems programming is that your program is dealing with...