AI Tools
Continue reading
Simon Willison compares C and Rust SQLite parse_number() extensions
Willison, using Claude to draft the code, found a hand-rolled C parser fastest at 16 to 19 ns per row, while the Rust builds ran larger and slower.
Simon Willison wrote a SQLite `parse_number()` function, which turns strings like -$1,234.56 or 12.5% into sortable numbers, in both C and Rust, and posted the results himself 1. The post is the primary source here. By his account, Claude chat (Opus 5.5) produced the code and he prompted it, so this is a practitioner's account of an AI-assisted build rather than an independent benchmark 1.