跳到正文
Peter Steinberger 🦞· @steipete · X·· 2 小时前AI 评分62
AI 导读

Peter Steinberger 表示周末已迁移到 tsrs,它是即插即用替代品,OC 场景快约 5 倍。他感叹微软用团队花两年用 Go 重写 TS 编译器,而现在让 AI Agent 几周内就能做出明显更好的成果。被引用的介绍称 tsrs 是 TypeScript 编译器的 Rust 移植,与 TypeScript 团队密切合作,比 TS 7.0 快最多 8 倍、内存占用约少 70%,可跑在 WASM 上,并将并入 Oxc 工具链。

正文

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.

引用VoidZero@voidzerodev
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://blog.cloudflare.com/typescript-rust-port%20%20/
在 X 查看被引用的帖子

来源:Peter Steinberger 🦞 · x.com