Skip to main content
← Writing

Writing · Tagged

#algorithms

2 articles

· 6 min read

Splitmix32: Thirteen Lines of Beautiful Randomness

I went looking for a seeded PRNG in TypeScript and found splitmix32, a 32-bit pseudorandom number generator so elegant it made me want to understand every single bit.

· 27 min read · Part 2 of 4

Three Generations of a Warehouse Routing Engine

From a Node.js solver built on npm libraries to a 144 KB Rust/WASM binary with Jump Point Search, compile-time code generation, and a nearest-neighbor + 2-opt solver that closes within 1% of the ILP optimum.