InfoNewsLLM-specific
parse_number() as a SQLite extension: C vs Rust
- Published
- Record updated
Summary
A researcher compared building a SQLite custom function parse_number() in C versus Rust, using Claude chat to generate both prototypes. The Rust extensions were 321 KB (rusqlite) and 298 KB (sqlite-loadable-rs) against 14 KB for the initial C build, and Rust ran faster because its strtod equivalent was twice as fast. A rewritten C parser then matched or beat Rust, with net cost per row over 2 million rows of 19 ns for mixed data versus 46 ns and 41 ns for the Rust builds.
Related items
- InfoNancy Pelosi’s replacement is ready to regulate AISame vendor · MIT Technology Review
- InfoSame vendor · Straiker Blog
- InfoSecurity Review Agents: 12x Fewer Tokens, 2.6x More Findings | Endor LabsSame vendor · Endor Labs Blog
- InfoToday’s AI won’t achieve superintelligence. But catastrophic risk is real | Sunita VermaSame vendor · The Guardian Technology
- MediumTop MCP security resources — November 2026Same vendor · Adversa AI Blog