Profile picture
Eric Rahm @eroc
, 6 tweets, 2 min read Read on Twitter
Interesting numbers on the usage for @rustlang in @firefox from Nov 1st 2017 to Nov 1st 2018, a thread
1/6
Rust usage by lines of code has gone up from 3.7% to 6.24%
2/6
We now have a total of 405,379 lines of Rust vs 6,091,861 lines of C/C++.
3/6
More interestingly at this point the amount of Rust has increased by 172,839 lines of code vs 38,241 for C/C++. This is the cumulative amount of additions and removals over the last year. For a large part of the year C++ was trending down.
4/6
So at this point we've added 4.5X as much Rust as C/C++ over the past year! Note: this number is volatile as we tend to add large chunks of code on both sides (think WebRTC, WebRender, etc). Overall it looks like we're trending towards adding more Rust and removing more C++
5/6
Tech details: these numbers were derived by downloading 78 builds over the past year, extracting their debug symbols, and them mapping them to in-tree files with a tool @TedMielczarek put together for the June 2018 Firefox all-hands.
6/6
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Eric Rahm
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!