Hackability: Gecko vs WebKit

Comments

There also some factors you're missing - such as the fact that there's a major refactor going on to sort out reflow issues as I understand it and the design for Gecko2 is being fleshed out. I also wonder what the number of people working on WebKit full time is vs. Gecko full time (although I suspect it's not a huge difference either way).

I also wonder if the fact that Gecko is older than WebKit (although it's not that much older than Khtml and whatever its predecessor was) is a factor.

To flip it round the other way though - why are Opera and Safari's plugin architectures so much suckier than Firefox? Personally I far prefer having AdBlock, Firebug, GreaseMonkey et al than a rendering engine that can handle what you've got to admit are some fairly esoteric tests.



Maybe I should have explicitly marked this as a draft, because you've mentioned a couple of things I was editing when I had to abandon it before finishing/publishing it. (I may yet leave this private (at some level) and publish a modified version, or just let this slip out eventually.)

Firstly, Gecko 2 does sound like it deserves the version number leap, and I can accept that there's little point trying to hack around issues in the 1.x series when a refactoring that will help things in the future is forthcoming (Opera's Presto itself came out of a rebuild of a previous in-house engine that wasn't as dynamic). Possibly WebKit quietly got this out of the way a couple of years ago and is now reaping the benefit; I don't know.

Secondly, speaking of years ago, I had a look at the history of Gecko and KHTML, and both turn ten this year. I don't think that you can really claim that age is serious part of the issue. Had I got around to editing the post, I think the point I'd have made is that the Gecko project page is pretty dry and unwelcoming; in contrast, WebKit has a lovely site, part of which is a list of project goals. One of them is "hackability":

To make rapid progress possible, we try to keep the code relatively easy to understand, even though web technologies are often complex. We try to use straightforward algorithms and data structures when possible, we try to write clear, maintainable code, and we continue to improve names and code structure to aid understanding.
Maybe this is the real difference between the projects, and it's to Apple's credit that, when choosing a layout engine all those years ago (my goodness, it's over five years since the Safari beta was announced) they picked what I still think was a good choice.

Finally, regarding plugins, I'm not really an expert on Opera, but Safari's lack of extendability is pretty standard for Apple. Personally I'm not massively bothered by it (I'm coping fairly well without the one input manager hack I used to use, AcidSearch), but I can see how other people do find it an important factor in their choice of browser.

Post a comment

Already a Vox member? Sign in

About Me

Paul Mison
United Kingdom
del.icio.us:
blech
Dopplr:
blech
FFFFOUND!:
blech
Flickr:
blech
Last.fm:
blech
Twitter:
blech
Upcoming:
blech

Neighborhood

Explore friends, family, friends & family, or entire neighborhood.

Archives

  • Powered by Vox