Did these guys just reinvent the Web?

San Francisco startup Famo.us is doing amazing things with JavaScript, radically raising the bar on what cross-platform Web and mobile apps can do

1 2 Page 2
Page 2 of 2

In short order, Lu was able to construct a simple test where a box was rendered swooshing across the screen. In the first run, Lu did it the conventional HTML5 way. In the second run, he used the new JavaScript rendering engine he'd coded. "We were 14 times faster than compiled C in Chrome in the very first test with only a 65K footprint," says Newcomb. "And I was like: That's huge. Done! Let's build a franchise around this."

Lu and Newcomb didn't stop there and began addressing other performance bottlenecks. For one thing, Lu felt jQuery constructed the rendering tree the wrong way around and opted to emulate the way games handled rendering instead. CSS3 animations were sorely limited, but the gaming industry had long ago mastered performance and motion in a much more advanced way using physics.

The Famo.us core is made up of four engines written in pure JavaScript: the rendering engine; a physics engine to control motion; a gesture engine for touch, mouse, keyboard, and Leap Motion; and a multiscreen engine that enables developers to parse out the app to any number of displays. Together these form a new, high-performance runtime environment for Web apps, mobile apps, or any apps coded in JavaScript.

As it turns out, the matrix3d transform is a W3C standard that must be supported by all browsers, so Famo.us apps such as this home page demo require no plug-ins. Moreover, rendering goes through DOM (Document Object Model), so all text in Famo.us applications is searchable (the company says it can now use the Canvas and WebGL elements of WebKit as well). Speeds of up to 60 frames per second can be achieved, depending on the platform. So far Famo.us will run on Chrome, Safari, or Firefox browsers (IE will come later) and even on hardware as wimpy as the iPhone 3.

Along with the four engines that comprise the Famo.us core, the company has developed templates to enable rapid application development. Last month Famo.us announced that its core would be available for free under an as-yet-unspecified open source license when the company releases its software sometime next year. Ultimately, Newcomb hopes the Famo.us core will become a part of WebKit.

Famo.us plans to make money by offering app templates and widgets (some free, some paid) along with selling hosting, analytics, and monitoring among other operations services. Enterprises will be offered a license that lets them "tap the engines directly and gives them tools to obfuscate their code to the nth degree," says Newcomb.

What sort of Famo.us apps might appeal to enterprise developers? The most obvious answer is simply that Famo.us supports a smooth, high-functioning UI across all platforms using a single code base. Personally, I think Famo.us will become one of several enabling technologies that gives enterprise developers the tools they need to stay relevant and produce public-facing mobile and Web applications that meet or exceed the high expectations of consumers. I can also imagine new types of apps that allow enterprise users to touch-interact with big data analytics -- or, more broadly, might even spark a new breed of gamified enterprise apps.

Famo.us completed a $4 million series A round in March and has hired only 10 people to date, including Dave Fetterman, former mobile engineering manager for Facebook. The company will shortly be embarking on its first closed beta program, where 40 developers will camp out in Famo.us's San Francisco offices to build apps. According to Newcomb, over 60,000 developers have already applied for betas.

Obviously, this isn't exactly the reinvention of the Web, but Famo.us has pushed JavaScript in a novel direction -- and has poked a large hole in the argument that native apps alone deliver the goods. It will be fascinating to see the new types of applications that emerge.

This article, "Did these guys just reinvent the Web?," originally appeared at InfoWorld.com. Read more of Eric Knorr's Modernizing IT blog. And for the latest business technology news, follow InfoWorld on Twitter.

Copyright © 2013 IDG Communications, Inc.

1 2 Page 2
Page 2 of 2
How to choose a low-code development platform