编译器 很高 作者声明
NeverSharp
TypeScript 6.0.3 编译器的 C# 移植(扫描、解析、绑定、类型检查、输出),由 Claude agent 编写,按预注册方案和 typescript-go、tsrs 做了性能对比。
NeverSharp 想回答一个问题:tsc 移植到 C# 能不能赶上 typescript-go。报告说,照搬的移植解析速度大约慢 Go 6 倍;在基准语料上调优过的 NativeAOT 版本,解析、类型检查和输出都快过 typescript-go 7.0.2,但还是比 Rust 移植 tsrs 慢一倍左右。项目在 2026-11-07 结束,是研究产物,没有面向用户的命令行工具。
人工参与
人定方向,agent 写代码. 作者定问题、预注册方案和各项决策;Opus 5.5 调度多个 agent 完成移植和优化。
证据
- 作者 README
The code was written by AI agents (Claude Opus 5.5 and Sonnet 5.5), orchestrated by Claude Opus 5.5, under the author's direction and decisions.
- commit 署名
Co-Authored-By: Claude Opus 5.5 <[email protected]>
备注
README 没写 harness。commit trailer 看着像 Claude Code 的格式,但作者没明说,所以 harness 记为未知。所有测量都来自同一台 Windows 机器。