Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    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.

    Visit blogHN submissions
    ProgrammingMathLanguages & Compilers
    What HN says

    Commenters praise his C style and cite his short programs, trig notes and essay on reading code from top to bottom.

    Stats for nerds
    15HN people shared it
    9linked in comments
    121story points
    Jun 2025last shared
    2011people per year2025

    Top posts on HN

    1. 1
      Tom Duff: Reading Code From Top to Bottom (1999)
      5 people · 108 points · first shared 2011 · 22 comments on HN
    2. 2
      One Hundred Possible Names for your New Startup
      2 people · 6 points · first shared 2010 · 1 comments on HN
    3. 3
      Duffgrams – Tom Duff's short C programs
      2 people · 4 points · first shared 2016 · Discussion on HN
    4. 4
      McIlroy on Coroutines (1968)
      1 person · 2 points · first shared 2010 · Discussion on HN
    5. 5
      Vector Quotients
      1 person · 1 points · first shared 2015 · Discussion on HN
    6. 6
      Com
      3 people · first shared 2017
    7. 7
      Trig
      2 people · first shared 2011
    8. 8
      Normal
      1 person · first shared 2018
    9. 9
      Geometric
      1 person · first shared 2011
    10. 10
      Frobenius
      1 person · first shared 2011

    What HN people wrote when they linked it

    • bear8642Jun 2020

      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

    • bumbledravenJun 2011

      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

    • aap_Nov 2017

      I really like td's style of writing C. You can find some of his code here: http://www.iq0.com/duffgram/index.html

    • wheelie_boyMar 2018

      Reminds me of Tom Duff's Essay 'Reading code from top to bottom': http://www.iq0.com/notes/deep.nesting.html

    • sigjuiceAug 2017

      I like Tom Duff's http://www.iq0.com/duffgram/com.html for experimental programs contained in a single file.

    • khrbtxyzJun 2020

      I really like Tom Duff's http://www.iq0.com/duffgram/com.html to compile and run in two commands.

    Related

    Simon Tathamchiark.greenend.org.uk/~sgtatham363 people

    Simon Tatham's Portable Puzzle Collection

    Simon Tatham
    Personal · last shared 2026
    Tomas Petricektomasp.net152 people

    Write your own Excel in F# (2018)

    Tomas Petricek
    Personal · last shared 2026
    Bartek's Coding Blogbfilipek.com49 people

    Coding without Google

    Bartek's Coding Blog
    Personal · last shared 2021
    Andy Sloanea1k0n.net57 people

    Donut math - How donut.c works

    Andy Sloane
    Personal · last shared 2026
    Random ASCIIrandomascii.wordpress.com274 people

    There are only four billion floats, so test them all (2014)

    Random ASCII
    Personal · last shared 2026
    Embedded Gurusembeddedgurus.com45 people

    Are we shooting ourselves in the foot with stack overflows?

    Embedded Gurus
    Publication · last shared 2024
    Tom 7tom7.org97 people

    Uppestcase and Lowestcase Letters

    Tom 7
    Personal · last shared 2026
    Jeremy Kunjeremykun.com194 people

    A Programmer's Introduction to Mathematics

    Jeremy Kun
    Personal · last shared 2026