Since 1986 - Covering the Fastest Computers in the World and the People Who Run Them

Language Flags
February 17, 2009

Programming in the Cloud

Michael Feldman

While a lot of the talk surrounding productivity in the HPC space has to do with parallel programming models and language compilers, for coders in the trenches, the most important productivity tool is their text editor. A good source code text editor can make even a poor programming environment seem tolerable. If you doubt the significance of a developer’s relationship with their editor, just suggest he or she ditch their beloved Emacs or vi for Brand X.

With that in mind, I was intrigued by the recent debut of a Web-based text editor, called Bespin, designed for source code development. Bespin is the brainchild of Mozilla Labs, which released a prototype of the tool last week. While there are other online editors like Google Docs and Zoho Writer, those are geared for general-purpose word processing and tend to make poor tools for developing code. The Bespin prototype is geared toward Web programming (it does syntax highlighting for JavaScript, HTML and CSS), but since the editor is built for extensibility, support for other languages should be relatively easy to plug in.

Bespin already seems to be getting a lot of praise in the press, and with Mozilla behind it, this may be a tool with a real future. The obvious advantage of coding in the cloud is that you’ve freed yourself of maintaining your editor tools — licenses, updates, custom configurations, etc. – on all your computers. Also, the online nature of the tool makes real-time collaboration of source code a no-brainer, although this capability doesn’t exist in the prototype.

One of Bespin’s strongest features is performance, which the Mozilla guys seemed to be focused on from the start. The text editing windows, as well as other types of windows, are rendered using the HTML 5 canvas element and are implemented in JavaScript. Since JavaScript runs locally, the application is able to take advantage of client-side interactivity and performance (although your mileage may vary depending on your client hardware and how canvas and JavaScript are implemented). So typing fast and editing large files does not seem to stress its performance.

The developers also paid a good deal of attention to the user interface and strived to make it as intuitive as possible. The fact that they used canvas to implement the UI graphics enabled them to incorporate a lot of intelligence in the layout and navigation of the source code files. A nice video demonstration of Bespin from two of the developers is provided below.


Introducing Bespin from Dion Almaer on Vimeo.

If you want to give Bespin a spin, you can register at https://bespin.mozilla.com/. But since the tool uses HTML 5, you’ll need to install Firefox 3.0 or WebKit Nightly to test it out.

SC14 Virtual Booth Tours

AMD SC14 video AMD Virtual Booth Tour @ SC14
Click to Play Video
Cray SC14 video Cray Virtual Booth Tour @ SC14
Click to Play Video
Datasite SC14 video DataSite and RedLine @ SC14
Click to Play Video
HP SC14 video HP Virtual Booth Tour @ SC14
Click to Play Video
IBM DCS3860 and Elastic Storage @ SC14 video IBM DCS3860 and Elastic Storage @ SC14
Click to Play Video
IBM Flash Storage
@ SC14 video IBM Flash Storage @ SC14  
Click to Play Video
IBM Platform @ SC14 video IBM Platform @ SC14
Click to Play Video
IBM Power Big Data SC14 video IBM Power Big Data @ SC14
Click to Play Video
Intel SC14 video Intel Virtual Booth Tour @ SC14
Click to Play Video
Lenovo SC14 video Lenovo Virtual Booth Tour @ SC14
Click to Play Video
Mellanox SC14 video Mellanox Virtual Booth Tour @ SC14
Click to Play Video
Panasas SC14 video Panasas Virtual Booth Tour @ SC14
Click to Play Video
Quanta SC14 video Quanta Virtual Booth Tour @ SC14
Click to Play Video
Seagate SC14 video Seagate Virtual Booth Tour @ SC14
Click to Play Video
Supermicro SC14 video Supermicro Virtual Booth Tour @ SC14
Click to Play Video