|
|
|
|
|
by Sylos
3023 days ago
|
|
I think, that does actually work out. The problem for humanity is not that browsers are written in C++, it's that browsers have lots of security vulnerabilities. Being written in C++ is not helpful with that, but it's not integral to the problem. It's not impossible to produce C++-code that doesn't have vulnerabilities, it just requires a lot of effort and often years of battle-testing to close all of them. But Firefox's source code has for the most part had those years of battle-testing. It's probably safer than if you'd completely rewrite it in Rust, at least in the short term. Where the use of Rust can deflect most vulnerabilities is in new code. And that's what Mixed Reality is. It's gonna need to be in the browser at some point in the near future and it is a big chunk of new code. It also has harsh performance requirements, meaning they'll have to work with parallelism, which is where C++ is particularly error prone. |
|
Firefox is not safe. It’s been routinely exploited by law enforcement and hackers alike.