Rob Pike's simple C regex matcher in Go
Translating Rob Pike's simple and elegant C regex matcher to Go.
Ben Hoyt is an experienced software engineer at Canonical. He and his wife and three daughters live in Christchurch, New Zealand.
Visit benhoyt.com → On Hacker News Aug 2016 – Mar 2024
Software Engineering 18Programming Languages 7Systems & Performance 4Web & Frontend 2Society, Policy & Culture 1Security & Privacy 1
Translating Rob Pike's simple and elegant C regex matcher to Go.
A critical but informative look at the new structural pattern matching feature in Python 3.10, with real-world code examples.
Why and how I added proper CSV support to GoAWK, my POSIX-compatible AWK interpreter.
How I wrote GoAWK, how I tested it, and how I measured and improved its performance.
Mugo is a single-pass compiler for a tiny subset of the Go programming language -- just enough to compile itself.
A toy (but working) compiler that turns Python syntax into x86-64 assembly using Python's built-in AST module.
How I sped up GoAWK by switching from a tree-walking interpreter to a bytecode compiler and virtual machine interpreter.