views:

376

answers:

4

I hear these terms bandied around quite a bit, especially when discussing feature compatibility... but what do they mean?

+12  A: 

WebKit and Gecko are two different rendering engines that browsers implement to display HTML. Safari and Google Chrome use WebKit. Firefox uses Gecko.

Matchu
You beat me to it while I was converting the parentheses in the Gecko URL to play nice with Markdown. :P +1
eyelidlessness
+1 for the wiki links.
Jim Schubert
Other rendering engines are Opera's and whatever IE uses.
Thilo
@eyelidlessness: you should be using a browser that converts them automatically when you copy out of the address bar... ;-)
Shog9
Shog9, parentheses are valid URL characters and do not get converted unnecessarily by Safari :)
eyelidlessness
Thilo, Opera's engine is called Presto and IE's is called Trident.
eyelidlessness
+5  A: 

Mozilla uses the Gecko engine, Chrome and Safari use WebKit. WebKit is supposed to have a smaller footprint.

You can find out what browser you're using (and useful tweaks) at http://www.whatbrowser.org/en/

The graphical timeline of browsers at wikipedia may be helpful: http://en.wikipedia.org/wiki/Timeline_of_web_browsers#Graphical_Timeline

As would the explanation of Gecko and WebKit

Edit: To address the edit of the original post "what do they mean", the whatbrowser.org site links to a lengthy comparison of web browsers. While this is not technically related to Gecko vs. WebKit, it is a great way to see how some of the browsers which implement the two engines are.

Jim Schubert
+7  A: 

To add to the other answers, some things which differentiate the engines:

  • WebKit is built to be suitable for a variety of environments, including mobile and embedded systems.
  • Gecko includes an application-layer language based on web technologies called XUL which can be used for cross-platform GUI development (and is employed in Firefox, Thunderbird, and add-ons for both).
  • WebKit has gained popularity and helped to push a variety of new web standards, most notably the <canvas> drawing layer—now adopted by every major engine besides Trident (the IE engine).
  • Gecko probably bears the greatest responsibility for reigniting browser innovation, following a stagnation when Netscape lost the "browser wars" to IE.
  • While WebKit tends to have a speed advantage, Gecko has been making great strides in this area since version 3.0, as well as minimizing resource requirements (tending to require less memory over time than WebKit, depending on implementation).

Edit: And a little history and some other browsers using the engines...

Historically, WebKit is derived from KHTML, the engine in Konqueror. Some of the changes in WebKit have been back-ported to KHTML.

Some other browsers (and applications and OSes) using WebKit include Epiphany (for *nix), OmniWeb (the first OS X browser, originally on NeXT), Adobe AIR (a runtime for using web technologies to develop "desktop" applications) and Palm's WebOS.

Gecko began development at Netscape, with the plan to eventually integrate it into the Netscape browser. The Mozilla foundation was spun off from Netscape, and proceeded to develop Gecko for the Mozilla suite, now known as SeaMonkey. Firefox (originally Phoenix, then Firebird) was built as a lightweight Gecko browser without non-browser-related functionality in the Mozilla suite, and with a defined extension API for adding features.

Some other browsers using Gecko include K-Meleon (for *nix), Flock (specialized for social networking) and Camino (Gecko in a native OS X Cocoa UI).

eyelidlessness
+1  A: 

Evolution of Gecko.

  1. First there was Netscape, and it was not so special, particularly against Internet Explorer 3 or so.

  2. Then Netscape started working on a new browser engine, intending to use it for Netscape Communicator 5.

  3. Netscape Communicator 5 never happened, but the new browser engine, now called Gecko, went on to power the Mozilla browser.

  4. Gecko is now used in a range of other browsers including Firefox, K-Meleon, Flock, not to mention Netscape 6 and 7.

Evolution of Webkit.

  1. First there was KHTML, and it powered Konqueror browser.

  2. Apple borrowed parts of KHTML and called it Webkit, and it powered the Safari browser.

  3. Google first used Webkit for their Android browser.

  4. Other browsers on various platforms are using Webkit including Google Chrome, Nokia Browser (on Nokia S60), Epiphany, WebOS browser (on Palm Pre) and many more.

For the sake of completeness I'll also mention Trident, sometimes known as MSHTML, which powers Internet Explorer (since version 4).

thomasrutter
searched this question on google today...this by far clearest answer..thx
John Snow