The next big battle in the world of computing will pit applications that live on the Web against the kind that live on a computer.
For several reasons, it would be beneficial if Web apps were to win. One reason is that the Web has a much broader reach than any other platform: Web browsers run on all kinds of devices, from mobile phones and tablets to game consoles and laptop computers. Another is that Web languages are developed by standards organizations like the World Wide Web Consortium (W3C) rather than being controlled by individual corporations.
However, conventional applications may retain the edge in performance. That’s because they are built from “native code” that runs closer to a device’s hardware. It can, at least in theory, run more optimally than Web code that needs to be interpreted by extra layers of software before hardware can act. For the user, that can translate into the difference between a smooth animation and a stuttering one. Besides, mobile devices have limited memory, battery power, and numbers of processor cycles.
Nevertheless, I think that Web apps will soon be able to compete with native apps, for two reasons.
Second, up-to-date Web languages such as HTML5 and CSS3 will handle many computing-intensive tasks that have been difficult for Web apps. For example, HTML5 makes it easy to integrate video into these applications. Current Web browsers ship with video codecs, and decoding is increasingly supported by hardware. Animations provide another example. In the past, devices fast and slow were forced to play every frame of an animation, whether or not they were capable of doing so smoothly. Now a designer can use CSS3 to define start and end points for an animation and leave the Web browser to interpolate the frames in between. A mobile device may show fewer frames than a desktop computer, but both will run the animation as smoothly as they can.
If such advances can allow Web browsers to offer the same functionality and performance as past proprietary platforms, the Web will win out. Native apps will become a footnote in the history of computing.
Håkon Wium Lie is chief technology officer of Opera Software and was a member of the TR100 in 1999.