Best of 2022

The blog posts Hacker News loved most in 2022. 6,153 posts.

Any topic
5708

A Faster Lexer in Go

It's been a while since I've last rewritten my favorite lexical analyzer :-) That post is the last in a series implementing a lexer for the TableGen language in a variety of programming languages, using multiple techniques. The last lexer written, in Go, was very fast indeed - processing 1 MiB of source in about 20…

5717

Classic 50mm “Normal” Lens

So, there you are, the proud parents of a beautiful new baby, and you can hardly contain your excitement as you unwrap that new 35mm camera kit you bought to document your child’s early years. Although you’ve had a point-and-shoot camera for a while, you wanted to step up to a “real” camera for the kind of quality…

5725

How far behind a plane is its noise?

If you’re ever near a relatively low flying airplane, you may have noticed that it sounds like it’s in a different spot in the sky than where it actually is. You can hear the loud engines, and your ears tell you it should be in one place, but your eyes tell you it’s clearly well ahead of its noise. It’s a funny visual…