Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 31,707 posts.

Any topic
Any year
20552

Processing the Page Turn

This board isn’t strictly a CPU but it is a processor of sorts. I actually purchased this board as it was described as a DEC board, with not a great picture, having not seen a DEC board with LOGIC ALUs on it I bought it. When it arrived I found it wasnt DEC at all but DSC, Digital Services Corporation. DSC was a video…

20561

Implementing Algebraic Effects in C

We describe a full implementation of algebraic effects and handlers as a library in standard and portable C99, where effect operations can be used just like regular C functions. We use a formal operational semantics to guide the C implementation at every step where an evaluation context corresponds directly to a…

20567

The language of choice

Propositional logic was discovered by Stoics around 300 B.C., only to be abandoned in later antiquity and rebuilt in the 19th century by George Boole’s successors. One of them, Charles Peirce, saw its significance for what we now call logic circuits, yet that discovery too was forgotten until the 1930s. In the ’50s…

20575

Deconstructing K&R C (2010)

Learn C The Hard Way (LCTHW) is a practical book teaching real world useful C using the same proven Learn The Hard Way method. LCTHW teaches real robust C coding and defensive programming tactics on real hardware rather than abstract machines and pedantic theory. The book emphasizes breaking your code on purpose, and…