InfoQ 中文T2·72 pts
- TypeScript 7.0's Go rewrite removed the ts.Transformer API, breaking the foundation of Angular's existing ngc compiler
- ngp uses a three-stage architecture: Oxc's Rust frontend for parallel analysis, the TypeScript template compiler for runtime files and type-check blocks, and downstream tsgo/esbuild/Rolldown for type checking and output
- The merged commit spans over 370K lines with about 56K in Rust, though the team stresses this is a partial rewrite rather than a new compiler