4 ms·
> My biggest issue with webkit is that there was a perfectly fine rendering engine to begin with that both Safari and Chrome could've simply built a new UI arou
by naz 16y ago
> My biggest issue with webkit is that there was a perfectly fine rendering engine to begin with that both Safari and Chrome could've simply built a new UI around.
You're right, there was. It was called KHTML, and they did.
- wdewind 16y agohttp://en.wikipedia.org/wiki/Gecko_%28layout_engine%29 http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29 Not that it really matters for the sake of the argument, because my point was that gecko was widely used already whereas KHTML was not and so they should've used it instead, but gecko was also around before KHTML.
- othermaciej 16y agoIt's not likely we would have had the same success on mobile if we'd started with Gecko, since at least at the time it was a much larger code base.
- pyre 16y agoWhen Apple announced that they were going to use KHTML in Safari (when they announced Safari) they stated that it was due to the library's small footprint. I assume that they didn't want to spend the time to reign in the Gecko engine to do what they wanted it to do (or hack/optimize it down to size). Just because something exists and seems to be 'good enough' doesn't necessarily mean that it would be a good fit. Unless you develop for WebKit, Safari, Firefox and/or Gecko, I'm not sure any of us are really qualified to make those kinds of statements. Also remember that you can't compare the current state of the two codebases. You have to compare the state of the codebases at the time that Apple created Safari/WebKit.
- wdewind 16y agoAgree to disagree, but I hope you don't complain about browser fragmentation.
- mpyne 16y ago> but gecko was also around before KHTML. Actually, KHTML pre-dates even Gecko, given that it descended from the "KDE HTML Widget" KHTMLW. Even in 1997 this library was being developed (example email: http://marc.info/?l=kde-devel&m=88665877914652&w=3 http://marc.info/?l=kde-devel&m=88665877914652&w=3) By 2002 or whenever Gecko was more widely used than KHTML but that doesn't really matter because it was harder to integrate into Apple's code. Apple even had to go so far as to write a KDE/Qt wrapper layer (KWQ IIRC) and it was still less work than integrating/fixing Gecko. As another example, the lead Safari dev, David Hyatt is famous for (among other things) co-starting the Firefox project (called Phoenix at the time) so it is a very large stretch to claim that Apple simply ignored the better choice. Hyatt would have to go way out of his comfort zone to adopt something other than Gecko, and the fact that he did so anyways should say something...
- blasdel 16y agoDo you know who Dave Hyatt is? He invented XUL, contributed to Gecko, wrote the initial version of Chimera (now Camino, one of the first real embeddings of Gecko), started the Firefox project, and started WebKit He had a pretty fucking good idea of the pros and cons of Gecko when he decided not to use it again.
- masklinn 16y ago> Not that it really matters for the sake of the argument, because my point was that gecko was widely used already then maybe you should have said that > whereas KHTML was not and so they should've used it instead That's not really relevant, and Gecko's size and complexity make it a hard sell when you have long-term goals of appliances and embedded. Furthermore entrenched projects and interests means Apple would have had low if any say about the project's orientation, giving up heaps of control. So it made sense for technical, future-proof and business reasons to go with a KHTML fork rather than Gecko. > but gecko was also around before KHTML. That's not even correct.