News for hackers. Stuff that matters.
Re:Fearless Concurrency in Firefox Quantum by zellyn on Wednesday November 15, 2017 @11:35AM (#15704996)
Is this reduction in line count typical? I'm surprised. Or is this discounting parts of the code that have been moved out into separate crates?
Re:Fearless Concurrency in Firefox Quantum by Rusky on Wednesday November 15, 2017 @01:15PM (#15706154)
There's some good discussion of how it happened here: https://www.reddit.com/r/rust/comments/7cwpbq/fearless_concu...

One of the biggest contributors is "custom derive," which cuts out a lot of boilerplate. Another is that Gecko C++ is also pretty old and so doesn't rely on a lot of what is now standard. It's also just a ground-up rewrite, which has the advantage of hindsight.

It's not a trick of moving code around.

Re:Fearless Concurrency in Firefox Quantum by zellyn on Wednesday November 15, 2017 @01:40PM (#15706484)
Oh, thanks. Perfect link. It makes sense that rewrites are smaller, but the reduction factor was still surprising.