Google Chrome: Underlying technology review

Google says its design philosophy with Chrome was to “start from scratch, and design something based on the needs of today’s web applications.” (You’ll find this and other soundbites in Google’s Chrome comic book.)

Google Chrome: Underlying technology review

In truth, though, it hasn’t quite “started from scratch.” The company admits that it’s “adopted good ideas from others”, the most obvious example being the open source WebKit rendering engine which is embedded into Chrome.

Back to the main review

Still, there’s no sense in reinventing the wheel, and WebKit is an excellent foundation for a browser. It sails through the brutal Acid3 standards test, which neither IE nor Firefox can claim. And it’s known for its speed and memory-efficiency, which is more than can be said for its rivals.

Additionally, WebKit is also used by Apple’s Safari browser, so web developers have already had several years to make sure their sites render correctly under WebKit. All told, it’s a smart, pragmatic choice.

The appliance of science

Of course, the rendering engine isn’t the only important component of a browser. Chrome is designed for “web applications”, so Google has also focused on scripting abilities. Flash works seamlessly, and the new V8 JavaScript engine is lightning fast, compiling JavaScript routines into machine code for top-speed execution rather than interpreting them as other JS engines do. To demonstrate the speed difference between Chrome and other browsers, Google has made available an online Javascript benchmark.

Unfortunately, for now there’s no Java plug-in, but we’re sure Sun will step up soon. And Microsoft will presumably follow with a Chrome-compatible implementation of ActiveX just as soon as hell freezes over.

A strong multi-tasker

The big architectural innovation in Chrome is launching tabs as independent processes, rather than as threads within an overarching parent process, as other browsers do. The advantages are obvious: in Chrome it’s impossible for a buggy web application to affect the stability of other tabs, and it’s effortless for the browser to distribute tasks between multiple CPU cores. Google admits that this approach uses “a bit more memory up-front”, since each tab has to have its own copy of various resources. But in practice we’ve found Chrome actually takes up less memory in everyday use than Firefox or IE.

What’s more, thanks to the provision of a process management console, you can monitor how much memory, CPU time and network bandwidth each tab is using. So if a runaway process tries, in Google’s own words, to “download the entire internet,” you can easily identify it and kill it. And since this completely ends the process and releases all its resources, Chrome shouldn’t suffer from the gradual memory creep that plagues Firefox.

Safety first

A final concern is security: the majority of today’s malware infections and internet scams are web-based, so the browser is the ideal venue for front-line defences. Chrome is written from the ground up with strict sandboxing, so web pages can’t access any files or data on your system without your explicit permission. It looks possible that this could break some legitimate web applications, though we’ve yet to see this happen. But even if it does, the small changes required to work within Chrome’s strict security model should improve security for users of all browsers.
Chrome’s weak link, for now, is plug-ins, which necessarily run with certain privileges that can be abused. But, as Google puts it, Chrome offers at least a “huge surface area reduction in vulnerability.”

Nothing new

It’s worth remembering that, for all Chrome’s good ideas, there’s nothing really revolutionary here. There’s very little you can practically do today with Chrome that you couldn’t already achieve in another browser. Indeed, a lack of extension support makes Chrome look a little limited next to Firefox: there’s nothing like AdBlock or Mouse Gestures.

But even without that, the speed and stability of Chrome’s first release make it a highly credible challenger to the more established browsers. It’s a stunning vindication of the ground-up approach which many of us hoped Microsoft would adopt for Windows 7.

Indeed, the contrast with Microsoft is telling. Cynics have been warning for years that Google has the potential to be the next Microsoft, and this expansion into the browser market will do nothing to allay their fears.

But while Redmond has, in the past, stooped to some questionable means to further its success, it seems Google hopes to win simply by producing the best products. And if they’re all as efficient and innovative as Chrome, that might not be such a bad thing.

Back to the main review

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.