News for hackers. Stuff that matters.
Re:Will Hare replace C? Or Rust? Or Zig? Or anything else? by sanxiyn on Tuesday May 03, 2022 @09:04AM (#31247763)
Rust just crossed 10% in Firefox. Rust is steadily replacing C and C++ in Firefox, as it was designed to do.

https://4e6.github.io/firefox-lang-stats/

Re:Will Hare replace C? Or Rust? Or Zig? Or anything else? by einpoklum on Tuesday May 03, 2022 @09:39AM (#31248159)
You mean, in the application maintained by the organization which devised Rust and is its main proponent? Someone I am not very impressed.
Re:Will Hare replace C? Or Rust? Or Zig? Or anything else? by sanxiyn on Tuesday May 03, 2022 @09:44AM (#31248224)
Rust was created to improve the situation where web browsers are written in C++. (I hope we can agree this is bad.) It was not created to impress you.
Re:Will Hare replace C? Or Rust? Or Zig? Or anything else? by dralley on Saturday May 07, 2022 @10:50PM (#31300805)
The combined total of Rust, C, and C++ is only about half of the Firefox codebase. So it's more like 20% (of the code that it might theoretically replace).

Because the code written in HTML and Javascript isn't going to be rewritten in Rust another language, probably ever.