T
Tom Duff
iq0.com · Personal blog · on HN since 2010
Tom Duff, known for Duff's device, publishes short C programs, math notes on trigonometry and essays on code style.
What HN saysCommenters praise his C style and cite his short programs, trig notes and essay on reading code from top to bottom.
15HN people shared it
8linked it in comments
9stories submitted
121story points
1 year agolast shared
2010people per year2026
Most-shared posts
- 1Tom Duff: Reading Code From Top to Bottom (1999)5 people · 108 points · first shared 2011 · 22 comments on HN
- 2Com3 people · first shared 2017
- 3One Hundred Possible Names for your New Startup2 people · 6 points · first shared 2010 · 1 comments on HN
- 4Duffgrams – Tom Duff's short C programs2 people · 4 points · first shared 2016 · discussion on HN
- 5Trig2 people · first shared 2011
- 6McIlroy on Coroutines (1968)1 people · 2 points · first shared 2010 · discussion on HN
- 7Vector Quotients1 people · 1 points · first shared 2015 · discussion on HN
- 8Normal1 people · first shared 2018
- 9Geometric1 people · first shared 2011
- 10Frobenius1 people · first shared 2011
What HN people wrote when they linked it
khrbtxyz · 2020-06-24
I really like Tom Duff's http://www.iq0.com/duffgram/com.html to compile and run in two commands.
bear8642 · 2020-06-11
Less focused but enjoyed Eddie Woo's and 3blue1brown's more recent videos on Youtube
Also challenged by Tom Duff's trigonometry page - http://www.iq0.com/notes/trig.html
Enjoy learning how to derive identities and equations from first principles - quite like differential of x^2 => 2x and the quadratic eqn via completing the square
theoh · 2018-12-04
See Tom Duff's solution here: http://iq0.com/notes/normal.html
wheelie_boy · 2018-03-26
Reminds me of Tom Duff's Essay 'Reading code from top to bottom': http://www.iq0.com/notes/deep.nesting.html
aap_ · 2017-11-12
I really like td's style of writing C. You can find some of his code here: http://www.iq0.com/duffgram/index.html
sigjuice · 2017-08-21
I like Tom Duff's http://www.iq0.com/duffgram/com.html for experimental programs contained in a single file.
bumbledraven · 2011-06-05
I found a few other interesting little notes on his site:
http://iq0.com/notes/trig.html All you need to know about Trignometry
http://iq0.com/notes/frobenius.html The Frobenius-Burnside Counting Formula
http://iq0.com/notes/geometric.html Sum of a Geometric Series
elitepleb · 2025-06-08
similar to http://www.iq0.com/duffgram/com.html