全部
全部

选一篇,慢慢读

从左侧挑一篇,正文会在这里排成书页。

文章与公开阅读资产

parse_number() 作为 SQLite 扩展:C 与 Rust 对比

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 文...

  • JK下一篇 / 上一篇
  • S收藏
  • A问 AI
  • I沉浸阅读
  • Esc退出