3 ms·
Congrats Firefox team! No mention of Rust - but I imagine it helped.
by ape4 3y ago
Congrats Firefox team!
No mention of Rust - but I imagine it helped.
- GuB-42 3y agoHow much of SpiderMonkey (JS engine) is Rust? AFAIK, besides the bindings, it is still mostly C++ and my guess is that it would be difficult to get the core parts in Rust without a full rewrite.
- tristan957 3y agoChromium is fairly invested in cxx[0]. Firefox could do the same if they haven't already. [0]: https://github.com/dtolnay/cxx https://github.com/dtolnay/cxx
- toyg 3y agoI wouldn't think so. It's not like Rust in FF replaces slow Python or Java code, it replaces heavily-optimized C++. If anything, Rust would likely impede speedup efforts (even if it might improve overall code quality and safety). Also, I believe the project to rewrite the entirety of Gecko in Rust has long been abandoned.