Menu
Google engineer: We need more Web programming languages

Google engineer: We need more Web programming languages

The creator behind Google Dart showed developers at QCon some other nascent Web development languages

Gilad Bracha, software engineer at Google

Gilad Bracha, software engineer at Google

Web applications may one day surpass desktop applications in function and usability -- if developers have more programming languages to choose from, according to a Google engineer.

"You should have more choices of viable languages," said Gilad Bracha, software engineer at Google, speaking to an audience of programmers Wednesday at the QCon developer conference in New York.

"I think the Web platform could make Web applications as good or better than native applications," Bracha said. "Ultimately it has to do that. Otherwise, the proprietary app stores will come and eat us all."

The benefits of Web applications are well-understood by developers. They don't need to be installed and they can work on any platform that supports the Web.

Unfortunately, one of the chief drawbacks is that they don't operate when not connected to a network.

So the ability to run Web apps offline will be critical given that, at least for the foreseeable future, many users will not have constant access to network connections.

"The Web is always available, except when it is not," Bracha said. "It isn't always available in a way that you can always rely on it. You may have a network that is slow or flaky or someone may want to charge you."

Therefore any Web programming language, and its associated ecosystem, must have some way of storing a program for offline use, Bracha said. The Web programming language in the future must also make it easier for the programmer to build and test applications.

The chief language used today for the Web is JavaScript, which is deficient in a number of ways, such as support for offline usage of apps. And this may remain the case for a while: JavaScript is based on the ECMAScript standard, which can take years to be updated. "It should be easier to do these things," Bracha said.

There are other programming languages being built for the Web but very few are viable -- meaning they aren't well-engineered, lack key features and don't operate efficiently, Bracha said.

One of the reasons that Google started work on the Dart programming language, which Bracha helped author, is to provide the Web with an industrial-strength programming language.

Google did not design Dart "to replace JavaScript, but to give you options," Bracha said.

Bracha pointed to some other lesser-known and still experimental languages that show promise as well.

One was Elm, a functional programming language for building GUIs (graphical user interfaces). He demonstrated how only a few lines of Elm could allow the end user to draw a circle in a browser window using only a mouse.

Elm is designed in such a way that once the code is placed into its Web editor, the results show up immediately in a preview screen, eliminating the need to save the code and run the program in a separate window.

"Try this in Swing," Bracha said, referring to the Java GUI widget toolkit that can be cumbersome to use. Bracha also co-authored the Java Language Specification, so he has some experience in that language as well.

Bracha also demonstrated Lively.

Lively is even more responsive than Elm. The developer, when viewing a draft of their program in the browser, can simply click on any part of the application on the screen and Lively will bring up to the screen the specific object code that rendered the object.

Even the Lively code editor is an object that can be manipulated, allowing the developer to move and manipulate any of the controls.

This approach is far easier to work with than, say, using a standard IDE (integrated developer environment) such as Eclipse, which would require the user to scan through thousands of lines of code to find the section that needed to be modified.

Bracha showed off other responsive languages, Leisure and Newspeak, the latter of which Bracha created.

"Hopefully, this will give you an idea of the wonderful variety of stuff that is out there," Bracha told the audience. "Competition is good for everyone."

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Follow Us

Join the New Zealand Reseller News newsletter!

Error: Please check your email address.

Tags Development toolsapplication developmentWeb services developmentLanguages and standardsGooglesoftware

Featured

Slideshows

Educating from the epicentre - Why distributors are the pulse checkers of the channel

Educating from the epicentre - Why distributors are the pulse checkers of the channel

​As the channel changes and industry voices deepen, the need for clarity and insight heightens. Market misconceptions talk of an “under pressure” distribution space, with competitors in that fateful “race for relevance” across New Zealand. Amidst the cliched assumptions however, distribution is once again showing its strength, as a force to be listened to, rather than questioned. Traditionally, the role was born out of a need for vendors and resellers to find one another, acting as a bridge between the testing lab and the marketplace. Yet despite new technologies and business approaches shaking the channel to its very core, distributors remain tied to the epicentre - providing the voice of reason amidst a seismic industry shift. In looking across both sides of the vendor and partner fences, the middle concept of the three-tier chain remains centrally placed to understand the metrics of two differing worlds, as the continual pulse checkers of the local channel. This exclusive Reseller News Roundtable, in association with Dicker Data and rhipe, examined the pivotal role of distribution in understanding the health of the channel, educating from the epicentre as the market transforms at a rapid rate.

Educating from the epicentre - Why distributors are the pulse checkers of the channel
Kiwi channel reunites as After Hours kicks off 2017

Kiwi channel reunites as After Hours kicks off 2017

After Hours made a welcome return to the channel social calendar last night, with a bumper crowd of distributors, vendors and resellers descending on The Jefferson in Auckland to kickstart 2017. Photos by Maria Stefina.

Kiwi channel reunites as After Hours kicks off 2017
Arrow exclusively introduces Tenable Network Security to A/NZ channel

Arrow exclusively introduces Tenable Network Security to A/NZ channel

Arrow Electronics introduced Tenable Network Security to local resellers in Sydney last week, officially launching the distributor's latest security partnership across Australia and New Zealand. Representing the first direct distribution agreement locally for Tenable specifically, the deal sees Arrow deliver security solutions directly to mid-market and enterprise channel partners on both sides of the Tasman.

Arrow exclusively introduces Tenable Network Security to A/NZ channel
Show Comments