Google Chrome: Underlying technology
Verdict
Darien Graham-Smith reveals what makes Google Chrome tick.
Review Date: 4 Sep 2008
Price when reviewed:
Overall Rating

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.)
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.
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.
advertisement
- Tech support survey reveals men need to read the manual
- OpenOffice ships 18-button mouse
- Nokia recalls 14 million faulty chargers
- Play.com order glitch leaks names and addresses
- Rupert Murdoch considers Google block
- Skype safe as eBay strikes deal
- Rick Astley worm infects iPhones
- Web censorship "breaches WTO rules"
- Facebook users to join the IM crowd
- Government promises broadband windfall for Scots
- Microsoft shows courage at Tech-Ed 09
- PowerPoint and Silverlight: a perfect match?
- Why all the fuss over Windows Explorer?
- Your iPhone has a virus? Well it's your fault
- Motorola pays Lucas for its Droid
- Where are the killer apps for Windows?
- Will you hit the Orange iPhone "unlimited" cap?
- USB 3 first benchmark - it's here, and it's fast
- Why Windows 7 has forced me to worry about security
- How Dixons is (under)selling Windows 7
- When will you get superfast broadband?
- The Crapware Con
- The 10 greatest tech U-turns
- Windows 7: everything you need to know
- PC 2010 and beyond
- The High Street Rip Off
- How to avoid the high-street rip-offs
- Do online protests really work?
- How to buy Windows 7 for £50 less: the truth about OEM versions
- Free computing lessons for kids
- The bulletproof Dell that costs an arm and a leg
- Microsoft Office 2010 Technical Preview: Q&A
- Lawnmowers, the TyTN II and one odd insurance request
- There'll never be a bulletproof OS
- How far can we trust apps?
- Five nice touches in Outlook 2010
- Building a better Google
- Beware HP's horrendous printer-driver glitch
- Microsoft debuts free Morro antivirus package
- Getting started with Search Server 2008 Express
advertisement

Printed from www.pcpro.co.uk

