gpt-6VIDEO
Developer rewrites Rust's oxipng in TypeScript with GPT-6 Astra
A developer rewrote the Rust PNG compression tool oxipng in TypeScript, reaching about 60% of the original's performance, with the work done almost entirely by GPT-6 Astra / 6.1 Sol.
月球背面 🌑 Moonvy
@FarSideOfMoonvyArchived 19 days agoOriginally posted 2026.10.12
月球背面 🌑 Moonvy @FarSideOfMoonvyOriginally posted 2026.10.12
现在流行把一切都改为 Rust。而这是逆行:从 Rust 代码重写为 TypeScript,oxipng 是 Rust 下的 PNG 无损压缩工具,oxipng-ts 是它的 ts 重写版,有原版约 60% 的性能表现。 这个表现很不错了,超过了过去的 UPNG.js 。过程几乎完全由 ChatGPT 6 Astra/6.1 Sol 完成。 我还是试了试最近流行的 TypeScript 编译为原生二进制的编译器 Porffor、ScriptC、Perry,能成功编译,但速度很慢。 https://moonvy.github.io/oxipng-ts/
x.com/farsideofmoonvy/status/2109330252325642507Archived 2026.10.13 10:09