Vercel CEO 发布 xeet:Rust/wasm 渲染 X 帖子约 1ms
Introducing 𝚡𝚎𝚎𝚝: https://t.co/YaLEMbmKwf.
Guillermo Rauch 发布 xeet,一个用 safe Rust/wasm 编写的封闭式 X 帖子渲染器,不依赖浏览器、网络、文件系统或系统字体,渲染一条帖子到 PNG 约 1ms(@jack 的“setting up my twttr”为 0.4ms)。它复现 Blink 与 HarfBuzz 文本整形、1/64px 换行、RTL 双向文本、28 个 Chirp 字体子集及 CJK/Math/Emoji 回退等规则,比启动浏览器截图快 100x-1000x。项目以“autorepo”方式组织:由 Chrome 作为 oracle 校验数万条文本布局规则,CI canary 监控上游变化并提交签名 PR 供智能体处理。
正文
Introducing 𝚡𝚎𝚎𝚝: https://t.co/YaLEMbmKwf.
A hermetic, pixel-perfect X post renderer in safe Rust / wasm. Zero browser, network, filesystem, system fonts. Renders a post to PNG in ~1ms (and 0.4 ms for @jack's "setting up my twttr" 😁).
X is the global town square, and the medium is the message. Being able to preview what things will look like before posting is great for both humans and agents.
Rendering with xeet is is 100x-1000x faster than booting up a browser and taking a screenshot, yet it's just as accurate.
It reproduces Blink & HarfBuzz text shaping, 1/64px line breaking, RTL bidi, 28 Chirp font subsets, CJK/Math/Emoji fallbacks, "Show more" rules, etc. It's the kind of thing that would be wildly impractical, if not impossible, for a human engineer to pull off.
Except 𝚡𝚎𝚎𝚝 is structured as an "autorepo." An oracle boots up Chrome, and verifies tens of thousands of text layout rules. A CI canary then watches the evolution of the original, and files signed PRs for agents to act on. It was conceived from the ground up around 'verification engineering', and the result speaks for itself.
Enjoy!