News for hackers. Stuff that matters.
Re:On Apple's Love Affair with Swift by bluejekyll on Saturday August 11, 2018 @09:25AM (#17739580)
> Firefox and Chrome are written in C++;

Firefox is on a course to remove C++ from safety critical areas and replace those with Rust.

Edit: to be clear this is based on the blog posts I’ve read from Mozilla about the introduction of Rust in different areas of Firefox. I know nothing of firm plans.

Re:On Apple's Love Affair with Swift by otabdeveloper2 on Saturday August 11, 2018 @09:29AM (#17739597)
'On a course' implies that there's some sort of definite plan and resources delegated to the task. Which isn't true of Firefox and Rust, as far as I know.
Re:On Apple's Love Affair with Swift by bluejekyll on Saturday August 11, 2018 @09:50AM (#17739648)
While it may not be an explicit goal, everything I’ve read implies that, for example the heading in this wiki on oxidization: https://wiki.mozilla.org/Oxidation

> Moving forward, the goal of Oxidation is to make it easier and more pleasant to use Rust in Firefox, and correspondingly to increase the amount of Rust code in Firefox.

And then there is the Rust page on Mozilla’s site:

> Mozilla also utilizes Rust in many of its core initiatives including Servo and key parts of Firefox.

https://research.mozilla.org/rust/

Where “key parts” is a link to the project quantum announcement: https://medium.com/mozilla-tech/a-quantum-leap-for-the-web-a...

> Initially, Quantum will share a couple of components with Servo, but as the projects evolve we will experiment with adopting even more.

Re:On Apple's Love Affair with Swift by gsnedders on Saturday August 11, 2018 @01:22PM (#17740597)
There is, however, no expectation or any real plan that C++ will be gone from Firefox. There's a huge amount of code, and there's a cost to rewriting it.
Re:On Apple's Love Affair with Swift by bluejekyll on Saturday August 11, 2018 @03:30PM (#17741146)
I only claimed “safety critical areas”... the other millions of lines and OS interop for UI, etc., will most likely not change for a long time.