Reading up on Daniel Lemire
3 deep · digging since aug 23
- How hard is it to check for whitespace?
Unicode's evolving 25+ whitespace characters and inconsistent runtime definitions make whitespace detection surprisingly complex, leading Guava to implement a perfect hashing optimization.
- Fast unicode (UTF-8) validation with autovectorization
A branchless, autovectorized UTF-8 validation algorithm using a 4-byte lookbehind window achieves 10-80 GB/s, far outperforming branchy and DFA validators.
- Fast and Hard Code
LLMs diminish the need to learn language specifics, letting developers choose languages like Rust and Zig for speed and size, and tackle complex low‑level projects without deep expertise.