跳到正文
原文
Hacker News Show HN· FragaOlle·· 16 天前AI 评分60

Quickertype:用 Rust 重写 quicktype,输出一致且最高快 89 倍

Show HN: Quickertype – quicktype in Rust, same output, up to 89x faster

AI 导读

Quickertype 是用 Rust 重写的 quicktype,CLI、API 和输出与上游逐字节一致,仅修复若干生成代码的 bug 并新增 JSON Lines 输入,基准中最高快 89 倍。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1529
Quickertype:用 Rust 重写 quicktype,输出一致且最高快 89 倍

📊 核心数据与事实(2026-11-18):
Quickertype 是用 Rust 重写的 quicktype,CLI、API 和输出与上游逐字节一致,仅修复若干生成代码的 bug 并新增 JSON Lines 输入,基准中最高快 89 倍。
• 原文实测切片:Wall time, median of 10 runs: Run quicktype quickertype Faster Startup ( --version ) 226 ms 2.6 ms 89× Tiny JSON (77 B) → TypeScript 246 ms 2.9 ms 85× pokedex.json (82 KB) → TypeScript 265 ms 4.1 ms 65× github-events.json (82 KB) → 8 languages…
• 原文实测切片:Several cores: a file of 8 MiB or more whose top-level value is an array, or that holds JSON Lines, is read on all cores: an array of 1 million records (267 MB) becomes TypeScript types in 50 ms instead of 260 ms on a 12-core M2 Max, with the…
• 原文实测切片:The WebAssembly engine behind quicktype's own API ( addSource , then quicktypeMultiFile to TypeScript), warm in headless Chrome, against quicktype's TypeScript engine in the same page: Input quicktype quickertype Faster pokedex.json (82 KB)…

💡 对独立开发者的启发:
1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。

📅 日期:2026-11-18(北京时间)
📰 信息源出处:Hacker News Show HN · FragaOlle(github.com)
🔗 原文:https://github.com/EloB/quickertype
📡 归档:https://billionare.me/items/sh9vsickzhnyvbe4vctijvtbu
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Hacker News Show HN · github.com