4 ms·
now we need to port angular compiler to rust!
by AbuAssar 4mo ago
now we need to port angular compiler to rust!
- flufluflufluffy 4mo agoWe should compile Firefox to wasm, and run Firefox inside Firefox so we can Rust while we Rust
- AbuAssar 4mo agoYo dawg I heard you like to rust
- swiftcoder 4mo agoI can hear Gary Bernhardt saying 'YavaScript'[1] in my mind [1]: https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- deleted 4mo ago[deleted]
- Klaster_1 4mo agoA couple of months ago, I experimented with this - took tsgo and ported tsc to go with Claude. The main issue why this still didn't happen yet is because tsgo doesn't expose plugin API externally, but it's still there, so you can just co-locate your plugin as extra Go module and compile everything together. Managed to get my fairly large Angular app to compile and even run unit tests. Cold compile time went down about 2x - so the benefits are there, but not as dramatic. I think this would still need architecture level optimizations that enable build parallelization, but that also requires making some changes to framework API so components can be isolated-compiled or something.