VoidZero's Experimental Oxc Angular Compiler Delivers Up to 20x Faster Build Performance
#Regulation

VoidZero's Experimental Oxc Angular Compiler Delivers Up to 20x Faster Build Performance

Serverless Reporter
4 min read

VoidZero has released an experimental Angular compiler written in Rust that demonstrates significant performance improvements over existing solutions, with benchmarks showing up to 20x faster builds. This development represents a potential shift in how Angular applications might be compiled in the future.

VoidZero, the company behind the Vite build tool and the Oxc JavaScript toolchain, has released an experimental Angular compiler written in Rust that delivers substantial build performance improvements over the existing Angular CLI compiler. The compiler was released on April 10, 2026, and is currently available for research purposes only.

The Oxc Angular Compiler is built on VoidZero's Oxc infrastructure and functions as a first-class Vite plugin with complete Hot Module Replacement (HMR) support. According to VoidZero's benchmarks, the compiler demonstrates impressive performance gains: 6.4x faster than Angular CLI on the Super Productivity codebase and 20.7x faster than Webpack with @ngtools/webpack on Bitwarden's open-source codebase.

Featured image

Architectural Advantages

The performance improvements stem from fundamental architectural differences between the new compiler and Angular's existing approach. The current Angular compiler transforms HTML templates into TypeScript code and then runs the full TypeScript Compiler to generate JavaScript output, performing deep whole-program type analysis on template-generated code.

In contrast, the Oxc Angular Compiler implements the template compiler natively in Rust using Oxc and integrates it into Vite through NAPI-RS, reducing dependency on TypeScript's semantic checker. This approach results in less overhead and significantly faster compilation, particularly as application size grows.

Real-World Implementation

Brandon Roberts, creator of AnalogJS (a popular meta-framework for Angular), has already integrated the compiler into Analog, posting a benchmark showing that build time with Angular's esbuild dropped from 47 seconds to 1.5 seconds—a roughly 97% improvement. This real-world validation demonstrates the practical benefits of the new approach beyond synthetic benchmarks.

When the project was raised as an issue on Angular CLI's GitHub repository, Angular team member JeanMeche responded positively: "Hello, we also share the enthusiasm around a new generation of compilers. We've recently updated our roadmap hinting at work around this topic."

The Angular team's roadmap indicates: "We're in the process of prototyping and exploring what this support would look like, and will deliver an Angular compiler that is compatible with tsgo and brings the performance benefits of Microsoft's native port to the Angular ecosystem."

AI-Assisted Development

The development process of the Oxc Angular compiler is particularly noteworthy, as VoidZero has been transparent about the role AI played in its creation. The team used Anthropic's Claude Code and OpenAI's Codex as pair-programming agents throughout the two-month build, with experienced engineers directing architecture decisions and reviewing all generated code.

According to VoidZero, the AI agents were particularly effective at handling repetitive transformation logic and generating boilerplate for Rust-based AST node visitors, while human engineers focused on higher-level design choices around template compilation strategy and Vite plugin integration. This collaborative approach between human engineers and AI coding agents represents an emerging pattern in software development.

Current Limitations and Future Prospects

Despite the impressive performance gains, the Oxc Angular Compiler has limitations. When asked about template type checking on Reddit, one of the contributors responded: "There is no plans of further maintenance, so very unlikely." This suggests the compiler may not be suitable for production environments requiring comprehensive type checking in templates.

Author photo

The Angular team's acknowledgment and roadmap update indicate that the performance improvements demonstrated by Oxc align with their own direction for future compiler development. This convergence suggests that we may see similar performance benefits in future official Angular releases.

Broader Implications for Web Tooling

VoidZero's work continues the trend of leveraging Rust for performance-critical JavaScript tooling. The company develops Oxc, a collection of high-performance JavaScript tools written in Rust, alongside Rolldown, a Rust-based bundler that powers Vite 8 and above.

Founded by Evan You, the creator of Vue.js and Vite, VoidZero is positioned at the intersection of modern web development and high-performance tooling. The Oxc Angular Compiler represents another step in the evolution of build tools, which have gradually moved from JavaScript-based implementations to languages offering better performance characteristics like Rust.

For developers and organizations working with large Angular applications, the performance improvements demonstrated by the Oxc compiler could significantly impact development workflows, particularly in continuous integration environments where build times directly affect developer productivity and deployment frequency.

About the Author

Daniel Curtis is a UI Development Manager at Griffiths Waite, a software consultancy based in Birmingham, UK. He leads front-end engineering efforts with a strong focus on delivering innovative enterprise solutions using TypeScript across the stack. Daniel is passionate about modern web architecture, developer experience, and the use of AI to both support software delivery and solve real customer problems within products.

Comments

Loading comments...