Patrick Walton@pcwalton·May 26, 20208.7% Rust, but also the amount of JS is about equal to the amount of C++, wow. I wonder if this includes tests though…Quote Tweetsteveklabnik@steveklabnik·May 26, 2020This is very cool: https://4e6.github.io/firefox-lang-stats/…Show this thread6767
Nicholas Nethercote@nnethercote·May 26, 2020Replying to @pcwaltonRust is over 11.4% of lines of shipped compiled code in Firefox:docs.google.comRust vs. C++ in macOS Firefox Nightly11/2017 - 11/2018 Date,C/C++ Lines,Rust Lines,% C/C++ Lines,% Rust Lines,Delta C/C++ Lines,Delta Rust Lines 11/1/2017,6,053,620,232,540,96.30%,3.70%,0,0 11/5/2017,5,993,904,234,006,96.24%,3.76%,-59...3631
Jeff Muizelaar@muizelaar·Nov 29, 2021Replying to @nnethercote and @pcwaltonDo you know how the data for this spreadsheet was gathered?1
Eric Rahm@eroc·Nov 29, 2021Replying to @nnethercote @muizelaar and @pcwaltonThat came from https://github.com/4e6/firefox-lang-stats/blob/master/dev/build-data#L10… I had a somewhat "better" methodology (analyzing mac binaries). I'll see if I can dig that up when I have some downtimegithub.comfirefox-lang-stats/build-data at main · 4e6/firefox-lang-statsLanguage details of the Firefox repo. Contribute to 4e6/firefox-lang-stats development by creating an account on GitHub.1
Eric Rahm@eroc·Nov 29, 2021Replying to @eroc @nnethercote and 2 othersOh that was easy, thanks past Eric!github.comGitHub - EricRahm/oxidation-stats: Scripts used to calculate percentage of Rust used in FirefoxScripts used to calculate percentage of Rust used in Firefox - GitHub - EricRahm/oxidation-stats: Scripts used to calculate percentage of Rust used in Firefox213
Jeff Muizelaar@muizelaar·Nov 30, 2021Replying to @eroc @nnethercote and @pcwaltonPerfect. Thanks. Here's an updated version:docs.google.comRust vs. C++ in macOS Firefox Nightly11/2017 - 11/2018 Date,C/C++ Lines,Rust Lines,% C/C++ Lines,% Rust Lines,Delta C/C++ Lines,Delta Rust Lines 11/1/2017,6,053,620,232,540,96.30%,3.70%,0,0 11/5/2017,5,993,904,234,006,96.24%,3.76%,-59...22
Eric Rahm@eroc·Nov 30, 2021Replying to @muizelaar @nnethercote and @pcwaltonNice! Almost 15% back in July (that was a stretch goal for me at some point). Also looks like a lot of code was jettisoned around 9/5, wonder what happened there.3
Jeff Muizelaar@muizelaarReplying to @eroc @nnethercote and @pcwaltonI believe this was the rewrite of the WebGPU implementation which replaced gfx-rs with wgpu-rs and dropped SPIRV-cross2:32 AM · Nov 30, 2021·Twitter Web App4 Likes