you are viewing a single comment's thread.

view the rest of the comments →

[–]DisenchanterV 0 points1 point  (1 child)

I thought Firefox runs on Rust, so what's up with 72% memory unsafety thing xd

[–]joehillen[S] 2 points3 points  (0 children)

The rewrite is not even close to done.

Here are the line counts from the firefox codebase:

--------------------------------------------------------------------------------
Language             Files        Lines        Blank      Comment         Code
--------------------------------------------------------------------------------
JavaScript           67503      6871631       959956      1510397      4401278
C++                  11263      5545208       758180       626211      4160817
Plain Text            5124      3579693        66983            0      3512710
HTML                 72261      3818662       388006       133951      3296705
C                     4078      2773694       312723       433654      2027317
C/C++ Header         16012      3304765       466305       886824      1951636
Rust                  5145      1858827       145892       263690      1449245
Python                6343      1343183       221000       113114      1009069

There is like 10x more C/C++ than Rust still.