Cloudflare 和 VoidZero 将 tsrs(用 Rust 编写的 TypeScript 编译器)引入到 Oxc 中

Max Schwenk 在 Owner.com 构建了 tsrs,以降低代价高昂的检查;Cloudflare 和 VoidZero 正在 Oxc 中孵化该实验性移植,早期的性能声明仍为自我报告。

By · Published

Primary source: Cloudflare Blog

为何重要

Schwenk 在 Owner.com 的用例展示了为什么编译器内存对代理驱动的开发很重要:每个检查器都在与周围的代理和服务竞争。tsrs 可能会使这些工作流更容易在本地或在 Wasm 沙箱中运行,前提是它能跟上 TypeScript 的行为。

Cloudflare and VoidZero put a Rust TypeScript compiler on a WebAssembly path — Max Schwenk built tsrs to ease type-checking at Owner.com; early speed and memory claims are company-reported, and compatibility work remains.

Cloudflare 和 VoidZero 正在将 tsrs,一个 TypeScript 编译器的 Rust 移植,纳入 Oxc 工具链,Max Schwenk 被列为构建该移植的人。该项目处于实验阶段。Schwenk 表示 Owner.com 的大型 TypeScript 代码库使常规检查变得开销很大,限制了工程师能同时运行多少个编码代理。…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.