# 由 LLM 完成的 TypeScript 编译器、检查器与 LSP 的 Rust 移植

- 原标题：Port of the TypeScript compiler, checker and lsp to Rust, by LLM
- 类型：项目
- 来源：GitHub
- 发布时间：2026-10-07
- 首次精选：2026-10-26 16:27
- 分级：值得看
- 学习层级：进阶
- 主题：[coding-agents-engineering](<https://oplearnx.com/md/topics/coding-agents-engineering.md>)（第 60 位）
- 原文链接：[https://github.com/pingdotgg/ts-rust](<https://github.com/pingdotgg/ts-rust>)
- 本站页面：[https://oplearnx.com/resources/pk\_a011103cc56f](<https://oplearnx.com/resources/pk_a011103cc56f>)

## 摘要

一个实验性项目，作者尝试让大模型把 TypeScript 7 的编译器（tsc）、类型检查器和 LSP 移植到 Rust，称确实做到了，token 成本超过 42 万美元，并估计可能只需约 2 万美元即可完成。README 给出对 T3 Code 做完整类型检查的耗时对比（tsc-rs --fast 9.77 秒，tsc 7 为 42.55 秒，tsc 6 为 191 秒），以及动机（测试模型能力、做快速类型检查器、支持 WASM）和“早期版本”的提示。

## 热度

- 档位：热度强
- 7 天新增 star：+60
- 30 天新增 star：暂无数据
- Hacker News：[119 分 · 224 条评论](<https://news.ycombinator.com/item?id=50000676>)
- 社区讨论：1 帖

## 项目信息

- 语言：Rust
- 许可：MIT
- 最近提交：2026-10-28
- Star：1572
- Fork：104

## 上手方式

```sh
npm install -D tsc-rs
npx tsc-rs -p tsconfig.json
```

摘自 [README](<https://github.com/pingdotgg/ts-rust/blob/main/README.md>)

---
来源：LearnMap · 学径（https://oplearnx.com）
