this post was submitted on 16 May 2021
26 points (93.3% liked)
Firefox
18462 readers
80 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is probably not an answer to your question but apple faced such a decision 20 years ago already...and picked khtml/kjs over the firefox engine gecko back then because:
( https://marc.info/?l=kfm-devel&m=104197092318639&w=2 ) (Sorry, it's a long time ago, best post I could still find from that time..but why they picked khtml over gecko was discussed extensively back then)
Of course I have no real clue (and firefox changed the engine in the meantime) but a project based on a portable library in the first place then forked into chrome/blink might have something to do with people finding it easier to integrate in their solutions than an engine specifically written for a single browser.
Yeah, I have heard before that one reason is Chromium being more modular.
I also assume Google put somewhat of a focus on that, after Node.js chose Chromium as a base. If I remember correctly, it was initially not possible to run Node.js in a headless mode, which it is now.
So the Chromium is more modular, I always guessed that it was but not certain. Thank you for your answer
These days, yeah, I'm pretty sure that it is. One of the stated goals of Servo was that it should have a well-defined API to allow embedding into Node.js and similar.
But a few years ago, when people started embedding browsers into everything, that difference might've been less big between Firefox and Chromium.
So, maybe there was another motivation, for example Chromium's JavaScript engine had much better performance around that time, which might've been rather important to Node.js.
Not. Google put effort in making WebKit less modular in blink. In WebKit you can chose the renderer, while in blink you ate stuck with skia.
Blink is a black box widget you van interact only via we extensions API. WebKit is a set of libs you can meddle with.
For instance, there is no way to render a web page to a PNG file in blink, while it's trivial with WebKit.
EDIT Alas, the first chromium was WebKit with the js engine replaced by V8. Not sure if you can chance blink js engine.
So the portability is a factor, understood. Thank you for takig the time to answer.
I would say so..but please don't take my word for it. It's really not like I have a clue. It's just what I gathered.