Conversation

Replying to
They made it because Cairo has terrible performance and varying output across platforms. I'd expect that Cairo has bigger security problems too, but doesn't get nearly as much attention because it's not exposed in two of the major browsers as the 2D canvas implementation.
3
2
Replying to and
Most users aren't running games in the browser but viewing websites. Switch away from Cairo was about competing with (and deprecating) Flash and about letting sites get orders of magnitude more resource-hungry (GPU-dependent), not about making performance acceptable.
1
1
Replying to and
Performance was unacceptable simply for rendering and scrolling web pages consisting entirely of CSS, text and images without any JavaScript. There are also many applications based on Canvas including obvious cases like Google Maps but also lots of examples that are less obvious.
2
That's also after Mozilla put in lots of work to develop improvements and accelerated backends for Cairo. Firefox performance can still be sluggish on demanding web pages with complex HTML/CSS. Still often has lots of dropped frames / jank with popular sites on weaker hardware.
1
And sure, most sites consume orders of magnitude more resources than they should need to deliver the same experience (with exceptions for web applications with real use cases for complex rendering). That's just the reality of the web, and people won't use Firefox if it's slow.
1
HTML, CSS and the DOM is incredibly complex and inefficient. Rendering it efficiently is extremely difficult. Sites also keep piling on more and more bloat / complexity. If Firefox can't keep up with that, it's just going to drop in usage share even more than it already does.
1
Replying to and
Making IonMonkey (or whatever they call it now) more performant, and making Stylo more concurrent, would pay far more dividends than keeping up with Skia CVEs and having to deal with the fallout of merging major Skia versions in every few cycles. But I'm going to bed now. 💤🐱🦊
1
1
This Tweet is from a suspended account. Learn more
A project having more discovered vulnerabilities also hardly means that it's less secure. An undisclosed vulnerability is still there. Far more researchers fuzzing, auditing and hardening a project isn't a bad thing, and they get it for free for components shared with Chromium.
1
Quote Tweet
Replying to @DanielMicay and @RichFelker
It's part of what Mozilla's Servo project has the potential to replace, similarly to how it replaced the Firefox CSS engine with one written in Rust (Stylo). Those components handle a very complex problem and consume untrusted input so memory unsafe languages are a big liability.