Post

Angular’s TypeScript 7-Powered Compiler Enters Beta with Rust-Based Preprocessor

Angular’s experimental ngp moves compiler analysis into a parallel Rust frontend built on Oxc, separating Angular transformation from the downstream TypeScript compiler.

The existing TypeScript template compiler produces runtime code and type-check blocks; a separate tool handles checking and JavaScript emission. An independent early benchmark cited by InfoQ measured 2–3× faster cold builds on three projects, with memory dropping from 2.8 GB to 1.4 GB on the largest. Results are early and workload-specific.

The article says adoption is planned for an Angular 22 minor release and advises keeping production builds on ngc in the meantime.