News for hackers. Stuff that matters.
Re:Google backtracks on Chrome modifications that would have... by bufferoverflow on Sunday February 17, 2019 @06:39AM (#19183951)
Rust is slower than C++. Firefox got faster because it got optimized, not because of Rust.
Re:Google backtracks on Chrome modifications that would have... by dklsafhjskljfl on Sunday February 17, 2019 @07:04AM (#19184055)
This is a common misconception. In key benchmarks, it is the same speed (a few still lag, but not due to inherent weaknesses in the language). Earlier versions of rust were slower because the compiler didn't have the insane optimizations that many C++ compilers have.

In fact, it may be easier for developers to write code that runs faster with rust than C++, thanks to much error and exception handling code that you simply do not need in Rust.

Most importantly, however, is finding Rust developers who are experienced enough to write high-performance Rust. I would imagine that it's a lot easier to find C++ devs.

Re:Google backtracks on Chrome modifications that would have... by nbaksalyar on Sunday February 17, 2019 @10:09AM (#19184789)
> Rust is slower than C++

It may be, but there's also the concurrency aspect which is hard to get right in C++. That's where the performance gains come from, partially, because 'fearless concurrency' is one of the Rust's tenets.

Re:Google backtracks on Chrome modifications that would have... by pcwalton on Sunday February 17, 2019 @02:37PM (#19186357)
> Rust is slower than C++.

That's a bold claim to make without any justification!

Re:Google backtracks on Chrome modifications that would have... by j16sdiz on Sunday February 17, 2019 @10:29AM (#19184899)
Most come from concurrency. Rust make them easier.