News for hackers. Stuff that matters.
Re:Microsoft to Explore Using Rust by cwyers on Thursday July 18, 2019 @12:52PM (#20471668)
The showcase project for Rust is a web browser (after all, Rust started out at Mozilla), which is certainly one of the larger undertakings one can start nowadays.
Re:Microsoft to Explore Using Rust by la_barba on Thursday July 18, 2019 @01:02PM (#20471785)
Well, I personally wouldn't put any web-browser in the performance applications category. They are important applications, no doubt, and increasing their memory safety is always a plus. But there is something "soft realtime"/definitive about fitting the rendering of millions of textured-polygons, and running AI, Physics, data streaming, audio, gameplay code in a total budget of 16ms per-frame for hours and hours.
Re:Microsoft to Explore Using Rust by hu3 on Thursday July 18, 2019 @01:19PM (#20471962)
How is Firefox a showcase of Rusts performance when Chrome beats it in benchmarks?

https://www.phoronix.com/scan.php?page=news_item&px=Firefox-...

Not to mention Firefox's poor state in macOS.

Re:Microsoft to Explore Using Rust by cwyers on Thursday July 18, 2019 @03:30PM (#20473162)
Rust is 6.5% of Firefox's code:

https://4e6.github.io/firefox-lang-stats/

They are working on a new Rust-based rendering engine, Servo, but it hasn't received nearly the level of work that a browser like Chrome has yet.

Re:Microsoft to Explore Using Rust by wtetzner on Thursday July 18, 2019 @02:19PM (#20472551)
What do you mean by it’s poor state in macOs? I use it as my main browser on macOs both at work and at home, and much prefer it over Chrome.
Re:Microsoft to Explore Using Rust by hu3 on Thursday July 18, 2019 @03:08PM (#20472995)
I envy you. There are complains of Firefox on macs on most Firefox-related threads. Ignore the titles and search comments in recent threads with significant number of comments: https://www.google.com/search?q=site:news.ycombinator.com+fi...

On my machine at current gig it crashes every other day making me lose my containers. It doesn't overheat the machine like some others reported though.

Re:Microsoft to Explore Using Rust by wolfspider on Thursday July 18, 2019 @02:31PM (#20472675)
According to the same benchmarks that test is a few versions older. Compare it to these and they are neck and neck (in theory). Consider that most benchmarking is subjective...depends on so many factors like is this Clear or Ubuntu Linux? Are the chipsets the same? The numbers are different here for "Speedometer" but between both tests there isn't enough information here even to say the tests are comparable just different. https://www.phoronix.com/scan.php?page=article&item=firefox-...
Re:Microsoft to Explore Using Rust by Scuds on Thursday July 18, 2019 @03:16PM (#20473043)
It's not. You may as well be comparing C++ to Swift. Chrome has had a lot more time and resources put into it anyway while Quantum has only seen release for two years.

That said, you're better off comparing CVE counts for Firefox vs Chrome. That said someone could craft a malformed legacy font file that has to be parsed by some dusty win32 code and BOOM!