Shlemiel the Painter Is Back: How Zig’s libc Rewrite Made SQLite 12,000× Slower
A Rust service’s SQLite JSON workload became dramatically slower when cross-compiled using zig cc: the author traces it to libc string routines repeatedly measuring the remaining string, turning tokenization quadratic. His 12,000× figure is for tokenizing a particular 1.2 MB input, not a claim about SQLite generally.
He switched to container-based Linux builds as a workaround. Lobsters readers linked a Zig issue and a proposed fix, and discussed how the rewritten libc functions enter the build.