Update Jan 4: Wow, this thing really took off! 1BRC is discussed at a couple of places on the internet, including Hacker News, lobste.rs, and Reddit. For folks to show-case non-Java solutions, there is a "Show & Tell" now, check that one out for 1BRC implementations in Rust, Go, C++, and others. Some interesting related write-ups include 1BRC in SQL with DuckDB by Robin Moffatt and 1 billion rows challenge in PostgreSQL and ClickHouse by Francesco Tisiot. Thanks a lot for all the submissions,...| www.morling.dev
type Reader ¶| pkg.go.dev
func AppendBool ¶| pkg.go.dev
func Clone ¶| pkg.go.dev
func Copy ¶| pkg.go.dev
func Alignof ¶| pkg.go.dev
In 2022, disk I/O is very fast, and not usually the performance bottleneck in programs. This article digs into some numbers.| benhoyt.com
Shows how much the performance of Go has improved from version 1.2 through to 1.18 -- in its compiler, runtime, and libraries.| benhoyt.com
Performance comparison of counting and sorting word frequencies in various languages (Python, Go, C++, C, AWK, Forth, and Rust)| benhoyt.com
An explanation of how to implement a simple hash table data structure, with code and examples in the C programming language.| benhoyt.com
How I sped up GoAWK by switching from a tree-walking interpreter to a bytecode compiler and virtual machine interpreter.| benhoyt.com