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…
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…
March 12, 2022 at 06:03 Tags Math Benford’s law is a really fascinating observation that in many real-life sets of numerical data, the first digit is most likely to be…
Coding interviews have never been popular in the programming community; I mean, they are prevalent, since many companies still use them to filter candidates, but they are vastly unpopular in…
This post takes a deeper look into how Go compiles method invocations; specifically, how it compiles interface method invocations. Many online descriptions of this process are outdated, because the Go…
“How We Got to Now” by Steven Johnson – a short book discussing some of the most important scientific innovations of the last 3 centuries, adapted for young readers. The…
Recently, a new set of sorting functions has landed in Go’s golang.org/x/exp/slices package . These functions leverage Go generics to provide a more ergonomic API for sorting (without requiring users…