4 ms·
The most interesting part for me is that Firefox and Chrome use the same drawing library for 2D canvas. Does this mean that all engines use the same library? O
by jannes 6y ago
The most interesting part for me is that Firefox and Chrome use the same drawing library for 2D canvas.
Does this mean that all engines use the same library? Or does WebKit use something else?
It reminds me of the Web SQL situation where everyone used the same library (SQLite). Eventually, the standard got deprecated because of that.
- meibo 6y agoWebKit used to use Skia as well afaik, but switched to Cairo(a FOSS 2d graphics library without any connections to Google) after Google forked WebKit. The same thing happened to V8, Apple made JavaScriptCore to remove dependencies on any Google-owned code after Google stopped contributing to WebKit itself. https://trac.webkit.org/wiki/WebKitGTK/Dependencies https://trac.webkit.org/wiki/WebKitGTK/Dependencies
- ronaldj 6y agoPretty sure JavaScriptCore predates Chrome. V8 was Chrome only.
- saagarjha 6y agoApple has, as far as I can tell, always used CoreText on macOS.
- meibo 6y agoYeah, you're right, my bad - It seems I was misremembering about that part, too late to edit now.
- gsnedders 6y ago> WebKit used to use Skia as well afaik, but switched to Cairo(a FOSS 2d graphics library without any connections to Google) after Google forked WebKit. IIRC, Skia and Cairo were supported simultaneously before the Blink fork. The Apple ports have always used Core Graphics, provided by the system (or with Apple software—notably iTunes—on Windows). > The same thing happened to V8, Apple made JavaScriptCore to remove dependencies on any Google-owned code after Google stopped contributing to WebKit itself. JavaScriptCore far predates V8: it's a fork of KJS dating back to the KHTML/KJS fork into WebCore/JavaScriptCore.