Advanced

Report: OS.js; Future Perfect

Posted by patrickjmquinn on · 3 comments
p-quinn.com; By Patrick J Quinn
Mail this story
Print this story

As many of those who have read my previous articles will know, i am a big backer of the web, especially web technology on the desktop. However with the recent course corrections made by Facebook in terms of their mobile offering and the relatively poor performance of HTML5 applications to date this belief had become marred with doubt. That was until i came across OS.js.

As many of those who have read my previous articles will know, i am a big backer of the web, especially web technology on the desktop. However with the recent course corrections made by Facebook in terms of their mobile offering and the relatively poor performance of HTML5 applications to date this belief had become marred with doubt. That was until i came across OS.js.

OS.js started life as a humble hobby project by developer Anders Evenrud, as a way to manage configuration of his home server remotely, using a GUI. It soon became apparent that it had the potential to be more. The result of this realization was an SDK, IDE and Minimalistic, light-weight multi-user web desktop allrunning on top of Linux as a complete, standalone OS. Its features include package, session and resource management, a virtual filesystem and support for Glade/Gtk+ based UI widgets (which means the Glade designer can be used to design and develop application UIs) as well as a plethora of default applications, demos and games. OS.js is 100% free and open source and is released under the BSD license.



So why exactly is a platform like this exciting from a technology standpoint? Surely this is all old hat? Well yes and no. Sure there are existing web applications which ape desktop environments, but these are all meant to be run solely as thin clients and are web based and distributed in nature. OS.js however, is targeted at the desktop itself with the ability to be run thin only being a side-effect ( and side benefit ) of the core technologies used . As the world shifts its focus more towards the web as a common platform for both content and communication, HTML5 begins to gain recognition as a first class citizen amongst users and developers alike at a rapidly growing pace. Microsoft has even made it the official language of Windows 8 with their HTML5 based ‘Silverlight’ framework and Canonical have announced that Html 5 is to be a major part in their upcoming Ubuntu Phone OS strategy.



On a more personal note, what is it about this project that has me agog? For me this project is the realization of a dream i have had for several years now, a paradigm shift in how we perceive the desktop and desktop application development and a convergence between both standard desktop and cloud computing models.

Historically, several people have argued that my interest in the desktop is nothing more than futile noise a relic from the halcyon days of IBM ( with others labeling me a hapless radical ). In reality however, it is the idea of a ‘platform’ itself which is becoming an irrelevant notion. The future of applications is heterogeneity, a ubiquitous delivery mechanism for all application across all platforms. The holy grail of the computing world. Be it desktop, mobile or somewhere in between, as long as it can render a web page it will be capable of running any application. And this concept excites me greatly.





There are however a few remaining hurdles with this sort of technology. The biggest being performance. HTML5 applications have yet to really live up to their native counterparts when it comes to performance, especially on the lower end systems that proliferate the consumer market. This is, in part due to the high level of abstraction by which interpreted languages such as Javascript abide and to some extent the engines which perform this task. However things are beginning to change in HTML5’s favor with technologies like Google’s v8 and Node.js entering vogue. As the gap between native and web performance lessens and the functionality and application of higher level associated concepts begin to appear in scripted languages, OS.js has never been more relevant than it is today and thankfully Anders has done a cracking job of providing a showcase for what can be done when web technologies are applied correctly and efficiently, with OS.js simply screaming along.

For those who are interested in OS.js you can hop on over to https://github.com/andersevenrud/OS.js ( which i strongly recommend ) and check out the source code and class documentation or see an example of the technology in action http://osjs.0o.no. You can also keep up-to-date with Anders Evenrud on his personal blog over at http://anderse.wordpress.com/

Full Story

  Nav
» Read more about: Groups: IBM, Microsoft, Ubuntu, Linux, Games; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (3)

Or maybe I'm just an old codger who is stuck in his ways. Sure, I know that Rexx has powered a few WindowsNT applications, more AmigaOS applications, and many IBM mainframe applications. But, javascript powering the Linux desktop? What about javascript's inherently insecure nature?

Quoting:Microsoft has even made it the official language of Windows 8 with their HTML5 based ‘Silverlight’ framework ...


[sarcasm] Well, I'm sold now. After all, who has more foresight concerning the world wide web than Redmond? [/sarcasm]

And I thought Microsoft was killing Silverlight. Or, is this framework different from the video technology?

Citation may be needed but Microsoft re-tooled Silverlight as a HTML5 based solution, its also the main applications framework for the Windows Phone platform too . Silverlight was never just a video solution but an interactive media container, much like flash :)

The insecurity comes from exposing the entire OS to the same API available on the web, it's the equivalent of being able to remotely run C++ functions in the browser, unchecked (give or take). The browser provides a sandboxed environment which allows the javascript code found in pages to be run without affecting the greater system, this (potentially) removes that layer of security.

And while not the last word in foresight, Microsoft's desktop offerings represent the largest install base on the desktop, so changing out their native applications framework for a scripted one, which is javascript based no less, is a ballsy move and represents the relative maturity of the technology :) Hope that clears things up a little.
Quoting:Hope that clears things up a little.


Yes, it does. Thanks, Patrick. I'm still not convinced on the javascript implementation, though. However, you've looked at the OS.js desktop and I haven't. Maybe that's the difference.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post