Blogs / Personal blogs

Welcome to my web site. I'm Simon Tatham, a software engineer and free-software author in Cambridge, UK.

Popular posts
16
Total points
4,224
HN comments
1,891
Rank
#296 personal

Visit chiark.greenend.org.uk/~sgtatham → On Hacker News May 2010 – May 2026

Software Engineering 10Open Source 5Security & Privacy 4Math & Algorithms 4Systems & Performance 2Tools & Productivity 1

1

XOR

Recently I was called on to explain the ‘XOR’ operator to somebody who vaguely knew of its existence, but didn’t have a good intuition for what it was useful for and how it behaved.

2

The descent to C

This article attempts to give a sort of ‘orientation tour’ for people whose previous programming background is in high (ish) level languages such as Java or Python, and who now find that they need or want to learn C.

4

Coroutines in C (2000)

Structuring a large program is always a difficult job. One of the particular problems that often comes up is this: if you have a piece of code producing data, and another piece of code consuming it, which should be the caller and which should be the callee?

8

Philosophy of Coroutines

I encountered the idea as a student, when I first read The Art of Computer Programming . I’d been programming already for most of my childhood, and I was completely blown away by the idea, which was entirely new to me. In fact, it’s probably not an exaggeration to say that in the whole of TAOCP that was the single…

9

Code review antipatterns

Code review seems like a great idea, right? Two developers looking at the same code means two chances to spot problems; it spreads understanding of the way the project is evolving; the reviewer can learn useful tricks from reading the author’s code in detail, or spot opportunities to teach the author a useful trick…