Google shows Native Client built into HTML 5

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

Google has been demonstrating its sandboxing technology for making web applications perform at similar levels to those associated with native desktop applications.

Google Native Client, still highly experimental, lets browsers run program modules natively on an x86 processor for higher performance than with web-programming technologies, such as JavaScript or Flash, that involve more software layers to process and execute the code. But to use it, there is a significant barrier: people must install a browser plug-in.

However, Google wants to make the technology more broadly accessible in browsers through new technology coming to HTML, the standard used to build web pages and, at the Google I/O developer conference in San Francisco on Thursday, it demonstrated its work towards making that happen.

David Sehr, a tech lead for Native Client, showed off the web workers standard, which lets web pages assign different tasks to independent processing threads, effectively letting a browser perform background operations without impeding on the user's experience. Web workers are one element of the ambitious but still not finalised HTML 5 standard.

Currently, browsers run software much more slowly than native applications that run on the desktop. Google wants to speed them up, a move that would add a lot of muscle to its ambition to make web-based software more competitive.

"We want to be within single-digit percentages of what you can do with the best desktop native code," said Brad Chen, engineering manager of the Google Native Client (NaCl) project in a talk at Google I/O.

Examples of what can be done include decoding video, encrypting data, video-game physics engines and face recognition. More interesting, perhaps, is when Native Client can work in conjunction with another Google browser plug-in, O3D, that lets browsers take advantage of hardware to accelerate 3D graphics.

"With O3D, we think we'll be able to enable high-quality games, the kind you're accustomed to seeing on consoles, as well as CAD applications," Chen said.

Google has a growing stable of applications including Google Docs, Google Maps and Gmail that can become much more competitive with desktop technology such as Microsoft Office. For now, however, Google is trying to resolve Native Client security issues before promoting it more widely among programmers, much less mainstream users.

Sehr said he hopes Google's browser, Chrome, will introduce Web Worker support within the next couple weeks. Google has been touting HTML 5 features at Google I/O, and Chrome gives Google a way to advance the state of web application art.

Though other browsers are building in Web Worker support, too, for now the technology is rough and certainly not a foundation a web programmer could expect widespread support for among browsers.

Google plans to support Native Client both through Web Workers and the plug-in, Chen said in an interview. Built-in support in the browser is helpful, but Chen said Web Workers have undesirable limitations for many chores. For example, the plug-in is necessary for applications that require a fast response to user input, he said.

One such example Google showed at the conference was a photo editor. With it, images could be rotated, zoomed, and have colours and tones adjusted with a variety of sliders. There are online photo editors available today, but they typically use Adobe's Flash plug-in.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

61253

An OS X perspective Filenames beginning with a dot/period (.) should not be equated with HFS Plus resource forks; misunderstandings around ._ (dot...

-10 seconds ago by 61253 on SharePoint deployment: Pitfalls of a pioneer
ians1

There are many legal download sites for music at least that do not charge an arm and a leg like itunes or Napster. The "real" cost of an mp3 file...

1 hour ago by ians1 on The Pirate Bay infringes copyright, High Court decides
Jon Howells

@Crupal.. How does refusing your websites cookies help my privacy? A quick look at your page script reveals four sets of code provided by 3rd...

8 hours ago by Jon Howells via Facebook on Privacy watchdog to chase big companies over cookie law
Paul Carloss

There are hundreds, if not thousands of filesharing torrent sites, The Pirate Bay (TPB) is only one of them, while the TPB is blocked many more...

9 hours ago by Paul Carloss via Facebook on The Pirate Bay infringes copyright, High Court decides
jonahdmartin

This Looks like a very good site. Looking forward to updates and e-mails and newsletters, and tips to improve my site. Thank You....

12 hours ago by jonahdmartin on 10 simple ways to improve website design
Rebin Simpson

So could users DownGrade if the new OS didn't worked correctly ?

12 hours ago by Rebin Simpson on Sony delivers on Xperia Ice Cream Sandwich promise
duncanjmurray

Hmmm, I thought that with SSDs you could get to the mythical ubuntu 10 sec boot time? Is this not the case?

12 hours ago by duncanjmurray on Netbook Upgrade - SSD IN, Windows OUT
JoshArg

Thanks once again! I have installed Linux Mint 13 (Maya) everything runs well but.. bluetooh is not present, "there is no blueetooth adapter" do...

12 hours ago by JoshArg on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
zdnetukuser

@JAW-- There’s a better-than-even chance that, had you made another choice of SSD, you would have noticed no improvement in battery life...

1 day ago by zdnetukuser on Netbook Upgrade - SSD IN, Windows OUT
Amb Rose

Please stop connecting the 'ATeam' to the UK Anonymous collective. Anonymous and the ATeam are not connected. The ATeam are not part of, affiliated...

2 days ago by Amb Rose via Facebook on UK Anonymous keeps up DDoS barrage on ICO
cpupal

Hi All I have looked into the cookie law today, there are a few solutions that these websites can use. Just add the widget and update your policy...

2 days ago by cpupal on Privacy watchdog to chase big companies over cookie law
dropz42

I read that many of the governments own websites are not yet compliant...shouldn't they sort that out before chasing others - slightly hypocritical !

2 days ago by dropz42 on Privacy watchdog to chase big companies over cookie law
Charles McLellan

@larrylisser Thanks for the feedback; you're quite right to surmise that the article's main point was to inform about developments in cloud-based...

2 days ago by Charles McLellan on VideoMeet: cloud-based video communication
J.A. Watson

@zdnetukuser - Thanks for pointing this out. I must admit that the relative power consumption of different manufacturers and models was something...

2 days ago by J.A. Watson on Netbook Upgrade - SSD IN, Windows OUT
J.A. Watson

@stevoparsons - You are absolutely right, I do expect a new system that is being connected to the Internet for the first time to pick up updates....

2 days ago by J.A. Watson on Windows Update Never Stops Sucking
zdnetukuser

@JAW-- Ya done good, boy. After two years of sifting and filtering data, it seems that the two lowest-power-consumption SSDs on the market are...

2 days ago by zdnetukuser on Netbook Upgrade - SSD IN, Windows OUT
stevoparsons

what else would you expect from turning on a machine for the first time; and at it has never been connected to the internet, and is loaded with an...

2 days ago by stevoparsons on Windows Update Never Stops Sucking
J.A. Watson

@JoshArg - Yes, you can erase the entire disk without worrying about messing up anything. In fact it can be even easier than that - your idea of...

3 days ago by J.A. Watson on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
larrylisser

Having been around video for years now - and around companies that have innovated in efforts to push the industry forward - it's great to see...

3 days ago by larrylisser on VideoMeet: cloud-based video communication
Karen Friar

Thanks for your comment. We mainly wanted to mark the fact that the RC is available for those who do not follow the project closely. We will know...

3 days ago by Karen Friar on Linux Mint 13 release candidate arrives