impl Rust: One Billion Row Challenge
I'm late to the party, but it's time we take a stab at the One Billion Row Challenge ( https://github.com/gunnarmorling/1brc ) in Rust. It's an excellent way to dig into optimizing Rust code and learning somethings about assembly, SIMD, performance profiling, and just CPUs in general in the process, so let's take it on! Thanks to the sponsor of this video, Hudson River Trading. If you're interested in finding out more about them, see https://www.hudsonrivertrading.com/gj... There are already several Rust implementations ( https://github.com/gunnarmorling/1brc... ), this excellent write-up ( https://curiouscoding.nl/posts/1brc/ ), and even an existing stream ( • The One Billion Rows Challenge with criter... ), but I'm hoping that walking through the iterative optimization process live is still a good teaching exercise. You can find my implementation at https://github.com/jonhoo/brrr, and the commit at the end of the stream is https://github.com/jonhoo/brrr/commit.... The other posts I refer to in the video are: https://github.com/gunnarmorling/1brc... https://curiouscoding.nl/posts/1brc/ https://github.com/gunnarmorling/1brc... 0:00:00 Housekeeping 0:01:30 The One Billion Row Challenge 0:10:53 The easy version 0:22:10 First, the build configuration 0:32:15 Aside: reliable perf symbols 0:36:54 Letting perf guide us 0:45:59 Avoid UTF-8 parsing 0:57:04 Memory mapping the file 1:26:59 Fixed point temperature 1:57:00 Splitting strings 2:35:30 Hashing... 3:31:45 Inspiration from a Java solution 4:05:45 Inlining short keys 5:14:08 Concurrent data loading 5:50:55 Playing with the map type 6:06:01 Inspiration from another Java solution 6:35:30 SIMD in next_line 6:48:39 Branchless temperature parsing 7:34:55 Avoiding load_or_default 8:02:45 Multithreading 8:38:48 More hashing 9:16:44 Cycle hunt 9:54:33 Shrinking stats 10:08:20 Temperature parsing again 10:23:19 Maybe hashing this time 10:33:43 Closing thoughts Live version with chat: https://youtube.com/live/g2EKNXKKGM4?...

Open Source Maintenance, 2026-07-18

Implementing a Lox interpreter in Rust

impl Rust: WAV noise generator

The Cost of Concurrency Coordination with Jon Gjengset

Spying on my Browser (in Zig)

Implementing and Optimizing a Wordle Solver in Rust

How Operating Systems ACTUALLY work (kernel mode vs. user mode)

Jon Gjengset on Rust Internals, Vibe Coding, and Teaching by Streaming

Understanding Rust – Or How to Stop Worrying & Love the Borrow-Checker • Steve Smith • YOW! 2024

Implementing (parts of) git from scratch in Rust

Why Rust is different, with Alice Ryhl

Crust of Rust: Atomics and Memory Ordering

Will Crichton: Rust for Everyone!

I Trapped A Scammer For 12 Days (he's furious)

impl Rust: Avro IDL tool in Rust via LLM

The Future of Rust Web Applications - Greg Johnston

The Guide to Rust I Wish I Had (Rust for Web Devs 1)

Vibe coding complex changes in Rust

Good Bye Electron, Hello Rust + Tauri! - Andreas Lillebø Holm - NDC TechTown 2025

