← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Angular to Decouple Compiler from TypeScript APIs, Adopt Rust-based Oxc for Performance

🔄 Updated 8h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Angular's compiler will decouple from TypeScript compiler APIs.
  • New compiler will process components and output transformed TypeScript.
  • This change addresses limitations with Go-compiled TypeScript.
  • The Rust-based Oxc (Oxidation Compiler) will be used.

Background on Angular and TypeScript

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.

Evolution of Web Tooling and Performance Needs

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.

Challenges with Existing Integration

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.

New Compiler Strategy

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.

Adoption of Oxidation Compiler (Oxc)

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~17 min · 13 stories · Sep 25

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

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.