HN Hall of Fame Weekly email

From Monads to Machine Code

www.stephendiehl.com Books & learning Tutorials & guides Computer science Candidate

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2016–2019
peak thread · 33 comments
181 pts
latest 20+ return · 2017-04-23
181 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

This is a gentle introduction to Haskell and also a brilliant tutorial on x86 assembly language – bonuses for anyone interested in compiler implementation. Exceptionally well written and clearly illustrated.

tomcam·181-point thread·

What's cool about monads is that the computation (assembly code in this particular case) is just a plain old value. So if you have a fragment like this: factorial :: Int64 -> X86 () factorial n = do mov rcx (I n) mov rax (I 1) l1 <- label mul rcx loop l1 ret you can just compose this into a bigger program: two_factorials :: Int64 -> Int64 -> X86 () two_factorials n1 n2 = do factorial n1 factorial n2…

pka·151-point thread·

One from 2017: https://news.ycombinator.com/item?id=14177503 2016: https://news.ycombinator.com/item?id=10842988

dang·17-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
358

reference only — not used in Hall rules or ranking

Total comments
47

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2016-01-04Monads to Machine Coderwosync90
2016-01-05Monads to Machine Code (Part 1)First breakoutprimodemus15112
2017-04-23From Monads to Machine CodeBest thread · Latest 20+ point returnmrkgnao18133
2019-09-28Monads to Machine Code (2016)lelf172