Angular adopted TypeScript early in its development, with the language providing structure and safety for scaling the framework. Angular's original ahead-of-time compiler was built on top of TypeScript compiler's APIs, a rare approach in the web ecosystem at the time.
The web ecosystem has seen significant evolution in tooling over the last decade, with a recent trend towards building high-performance JavaScript compilers and bundlers using native code. TypeScript 7 demonstrates the potential of this approach, offering notable performance improvements.
Angular's deep integration with TypeScript's compiler APIs presents challenges with native-compiled versions of TypeScript, such as a Go-compiled version. This is due to the overhead of language barriers and the Angular compiler's reliance on the ts.Transformer API, which is not available cross-language.
To bring the benefits of native tooling and TypeScript 7 to Angular developers, the team plans to decouple Angular compilation from TypeScript's compiler APIs. They will build a new Angular-specific compiler that processes components and directives, outputting transformed TypeScript code for further processing by build pipelines or other compilation tools.
This new approach aligns with other frameworks that have decoupled code generation from type-checking. Many of these frameworks use the Oxidation Compiler (oxc), a native toolchain for JavaScript parsing and compilation written in Rust by Void Zero, which offers a stable and mature API.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Angular is developing a new, Angular-specific compiler that will decouple its compilation process from TypeScript's compiler APIs. This change is driven by the performance benefits of native tooling, as demonstrated by TypeScript 7, and will utilize the Rust-based Oxidation Compiler (oxc) for code transformations.