Peter Steinberger 周末迁移到 tsrs,称 OC 场景约快 5 倍
Moved to tsrs over the weekend. Drop-in replacement. Around 5x faster for OC.
Peter Steinberger 表示自己周末把项目迁移到 tsrs,这是可直接替换的方案,在 OC 场景下约快 5 倍。他提到微软用团队和两年时间把 TS 编译器用 Go 重写,而现在让智能体放手做,几周内就能得到明显更好的结果。他引用的 VoidZero 公告称 tsrs 是 TypeScript 编译器的 Rust 移植,与 TypeScript 团队密切合作,比 TS 7.0 快至多 8 倍、内存占用约少 70%,可运行在 WASM 中,并将加入 Oxc 工具链。
查看原帖Introducing tsrs: a Rust port of the TypeScript compiler 🦀 We are not forking TypeScript! ◆ In close collaborating with the TypeScript team ◆ Up to 8x faster than TS 7.0 & ~70% less memory ◆ Runs in WASM, so it works in your browser & on Workers ◆ Soon part of the Oxc toolchain npx tsrs https://t.co/qmmxF3YnQy
正文
当前显示原文,中文全文译文尚未就绪。
Moved to tsrs over the weekend. Drop-in replacement. Around 5x faster for OC.
Kind of amazing that it took Microsoft a team and two years to rewrite the TS compiler in go, and now you can just let an agent rip and get sth significantly better within weeks.