以下为上游提供的源文稿,可能存在识别错误。
乔木转写是基于源文稿的中文提炼,不是逐字翻译。请核对原文中的人名、数字与观点。
选一篇,慢慢读
从左侧挑一篇,正文会在这里排成书页。
Research: parse number() as a SQLite extension: C vs Rust I was out walking the dog when I got curious about how easy/difficult it would be to write a SQLite C extension that adds a parse number() function for turning strings like -$1,234.56 or '12.5%' into numeric values that could be summed and sorted. I fired up reg
阅读原文 · Simon Willison's Weblog
向阳乔木 · opencode-go/deepseek-v4.1-flash
遛狗途中冒出一个念头:给 SQLite 加个 parse number() 函数,把 -$1,234.56 或 12.5% 这类字符串转成能求和、能排序的数字。用 C 写和用 Rust 写,差别有多大? 他打开 Claude 聊天(Opus 5.5),把这个问题抛了过去:要求对比 C 和 Rust 两种实现方式,看性能、代码复杂度,以及最终生成的 .so 文...