Feeds

Chrome: A new force for web applications?

Promise through the froth

The Power of One Brief: Top reasons to choose HP BladeSystem

Review Google's new web browser has provoked an orgy of comment almost rivalling that for a new trinket from Apple. There's plenty of froth, but for once the interest is justified.

This is not just a browser: it is a vehicle for delivering web applications, and it significantly changes the balance of power between those trying to build modern client platforms. It is time to abandon the term Rich Internet Applications, or RIAs, as if this were a distinct category that is not quite mainstream.

This is a battle over how most of the web and a large slice of business applications will be built in future.

In some ways the goals of Google Chrome parallel those of Adobe Systems with AIR. Both companies are bringing web applications to the desktop. Adobe's approach was to create a new runtime which wraps Flash, the WebKit HTML rendering engine, and the Sqlite database engine to allow web applications to run outside the browser.

Google also took WebKit and Sqlite (part of its Gears extension library), but its approach to desktop integration is beautiful in its simplicity. Chrome lets you create desktop shortcuts to web pages. In addition, when you open a web page from one of these shortcuts, it opens without any browser furniture.

This really is a significant feature, because a well-designed and responsive web application will be indistinguishable from any other desktop application. The name Chrome is in part a reference to it - in software development, the term describes the surrounding user interface of an application.

At the press conference announcing Chrome, Google's vice president of product management Sundar Pichai said: "We used to call it content, not Chrome - that's what we should focus on." The name Chrome is an ironic one, that means as little chrome as possible.

Saviour of the universe?

What about the Flash element? Web developers turn to Flash, or some alternative such as Microsoft's Silverlight browser plug-in, for several reasons, including rich graphical effects, video and multimedia, and a fast just-in-time compiled virtual machine. Google cannot provide all this in Chrome, yet this seems to be headed in that direction. Chrome ticks the box for a fast virtual machine, with the V8 JavaScript engine. Google VA technical lead Lars Bak described three key features of V8.

The first is a native code compiler. Although JavaScript is a dynamic language, which is more challenging for a compiler, Bak explained how V8 "monitors the program as you run it and creates common structures of objects inside the virtual machine," enabling optimisation.

Next, Bak talked about inline caching. Inlining is a way of flattening program structure to speed up function calls.

The third feature is memory management. According to Bak, V8 is designed to scale, so that Javascript web applications can grow much bigger while still performing well. As an aside, it is worth noting Mozilla's claims that its own forthcoming Javascript virtual machine, TraceMonkey, is better than V8 on some tests.

This will be part of a future Firefox release. Microsoft, on the other hand, seems to have little interest in JIT-compiled Javascript. JScript is faster in IE8, but not close to V8 or TraceMonkey. Real-world performance is about interaction with the browser's document object model (DOM) as well as pure code.

The Essential Guide to IT Transformation

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.