A parse_number() SQLite extension in C vs Rust, built with Opus 5.5
Datasette's creator used Opus 5.5 in Claude chat to build and compare a SQLite parse_number() extension in C and Rust. Rust builds were ~300 KB versus 14 KB for C but faster thanks to a quicker strtod equivalent, until the model wrote a custom C parser that…
Published
Read the original
Why it matters
An example of quick engineering research done entirely in chat.
What happened
1 min readDatasette's creator used Opus 5.5 in Claude chat to build and compare a SQLite parse_number() extension in C and Rust. Rust builds were ~300 KB versus 14 KB for C but faster thanks to a quicker strtod equivalent, until the model wrote a custom C parser that reached 16-19 ns per row.
inscraper analysis
Our analysis
The strtod finding is a nice detail; otherwise a small personal experiment.