Hacker News new | ask | show | jobs
by fnord123 652 days ago
Of the 32,373,275 lines in Firefox that tokei reports, 3,439,065 is Rust. 5,740,010 is in C (C + C Headers). And 5,643,721 is C++ (C++ + C++ Headers). 7,343,459 is JS.

Using the "Code" column to ignore comments and blanks.

This is based on the mozilla-central-78a5d30a370f bundle.

(Also, holy crap it took tokei 10m to run this analysis).

1 comments

I don’t think the relative % of rust has changed a lot in the past few years though, has it? After they got the obvious low lying fruit it slowed down dramatically didn’t it?
It's a good question but I have no plans to write a script that walks mercurial history and plots the relative percentages of the code based on language.

If you find the time and urge I'd be interested to know the results.

1 line of rust != 1 line of C