{"data":{"id":"b6545df3-ff85-464c-b1f6-afc257841063","title":"parse_number() as a SQLite extension: C vs Rust","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.","solution":"N/A -- no mitigation discussed in source.","labels":["research","industry"],"sourceUrl":"https://simonwillison.net/2026/Nov/8/sqlite-parse-number-c-vs-rust/","publishedAt":"2026-11-08T22:26:00.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"info","attackType":[],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["Anthropic"],"affectedVendorsRaw":["Claude","Claude Opus 5.5"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-11-08T22:26:00.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":null,"aiComponentTargeted":null,"llmSpecific":true,"classifierConfidence":0.6,"researchCategory":null,"atlasIds":null}}