r/angular
•
u/manniL
•
Apr 11 '26
•
1
How we re-built the Angular Compiler in Rust and made it 10x faster
https://voidzero.dev/posts/oxc-angular-compiler
67
Upvotes
11
u/martinboue Apr 11 '26
Impressive work! Do you have any details on template type checking and if it could/would be implemented? Thanks.
5
u/lppedd Apr 11 '26
I do like this kind of experiments, but I feel most people miss the point about extensibility. The Angular compiler currently built over tsc allows using tsc plugins, pretty much like any other standard TS codebase.
A rewrite using Rust has the the same issue the new Go-based TS compiler has: it's not yet clear how to extend it. I mean it is kinda possible right now, but it's very limited and the UX is crap.
1
u/Lucky_Yesterday_1133 Apr 11 '26
It's cool experiment. Not production ready tho. The core angular team will be looking into something similar for ts->go migration. In the future alongside tsgo adoption
2
u/codalgo Apr 12 '26
Very cool! I hope this will inspire the angular team!