2013-11-13

Portable Native Client - It begins

The long slow death of JavaScript as a reasonable platform for "apps" begins.

Portable Native Client: The "pinnacle" of speed, security, and portability


I've been deeply critical of HTML5 and JavaScript as a platform for general purpose applications for several years now. HTML5 is a step in the right direction as far as layout goes, but JavaScript was never intended as a target for compilers and is intrinsically inefficient.


I always felt that the push toward JavaScript-based web applications by Google was premature in that HTML5 was incapable of efficiently running applications. Even if you had a sufficiently fast machine to get reasonable performance out of a "web" application, you would do so at the expense of battery life. Assuming identical algorithms, a web application would consume far more cycles than its native equivalent for the same unit of work. This, at a time when more and more devices are battery powered and portable. The push was folly.


Up until today, Native Client had three problems:

  1. CPU architecture specific.
  2. Lack of rich APIs / native widget / platform bindings.
  3. Chrome only, not an open standard.
The first has now been addressed, once two & three are resolved, then the "web" will finally be a platform that can potentially replace modern OSs. The originally presented vision of Chrome OS was always doomed to fail. The "web" as existed at the time was not a platform where applications could be barely anything more than form-like curiosities. Anything heavy, such as IDEs, photo editors, games, would suffer embarrassing levels of performance and/or battery life.

It is my hope that, through Native Client - or similar technology, the "web" does become a cross-platform source of native applications. Such a development would be of monumental significance as finally it will be possible to deliver on the age-old promise of Java - write once, run anywhere - but without the bloat of early Java or the current web. Curated collections of applications will always have a place but the walled gardens will fall and applications, developed without comprise (unlike todays web "apps") will have a potential audience of everyone.

1 comment:

Anonymous said...

Hello,
I am Dan Kingsley, Curator at bundlecult.com. We are a trusted retailer with experience in bundling applications and games of over 5 years with our sister
site, Macbundler.
As a perfect follow-up to our just ended Mac app deal. BundleCult has launched a new game bundle packs for both Mac, Linux and PC user. You can pay as much as you want to get the first two games and Beat the current average price to get all 10 games.
That’s not all, we've partnered with Strange loop games to offer free license keys for Vessel and Shattered Haven when you share our bundle offer with friends.

Featured games now include: Gunslug 2, Depth Hunter 2, Orborun, Quest run, Incoming forces, Tiestru, Frozen Hearth, Lightfish, Northmark: Hour of the wolf, Gare sapphire mechs.

Secret to our success and idea behind bundlecult is strong reputation with affiliates and a passionate team. Our just ended Mac bundle was an absolute success that paid out over $1000 to affiliates. If you missed out on our promotion, you owe it to yourself to grab the next one - you’ll be glad you did!

We would like to partner with you in getting this incredible indie bundle to the larger audience it deserves. Affiliates earn 20% commission per sale.
A campaign image has been attached to this email. I do hope we can get your thoughts on this offer
http://www.bundlecult.com/affiliates/register.php

Kind Regards,
Dan
dan@bundlecult.com
summer_mayhem.png