Plurrrr

Sat 13 Aug 2022

Código Emperador (2022)

Follows Juan, an agent working for the intelligence services, who also reports to a parallel unit involved in illegal activities.

In the evening Esme and I watched Código Emperador. I liked the movie and give it a 7 out of 10.

Rob Pike’s simple C regex matcher in Go

Back in 1998, Rob Pike – of Go and Plan 9 fame – wrote a simple regular expression matcher in C for The Practice of Programming, a book he wrote with fellow Unix hacker Brian Kernighan. If you haven’t read Kernighan’s “exegesis” of this code, it’s definitely worth the 30-minute time investment it takes to go through that slowly.

With Go’s C heritage (and Pike’s influence on the Go language), I thought I’d see how well the C code would translate to Go, and whether it was still elegant.

Source: Rob Pike's simple C regex matcher in Go, an article by Ben Hoyt.