3 ms·
Rust makes up the majority of the current Fuchsia code on the main branch (2.6M lines), at least according to `cloc`, but there are more lines of C++ code (1.6M
by nybble41 5y ago
Rust makes up the majority of the current Fuchsia code on the main branch (2.6M lines), at least according to `cloc`, but there are more lines of C++ code (1.6M) than plain C, assembly, and C/C++ headers combined (0.95M). And that's very generously assuming all those headers are compatible with C and not just C++.
-------------------------------------------------------
Language files blank comment code
-------------------------------------------------------
Rust 11813 339160 541958 2661720
C++ 9207 344592 198973 1632916
Go 2906 81163 138138 608871
C/C++ Header 7544 156294 209786 559658
C 1680 49614 52841 260405
Assembly 322 18112 11620 133536
-------------------------------------------------------
Header + C + Assembly 9546 224020 274247 953599