Web applications can outperform native programs in function and usability. But for this it is necessary that the developers have a choice of programming languages. This view was expressed by Gilad Bracha from Google, one of the authors of the Dart programming language, in a
speech on June 11 at a conference for QCon developers in New York.
Gilad Braha is sure that applications must work on a web platform, otherwise “proprietary application catalogs will come and eat us all.” The only problem is that web applications do not work offline. Therefore, future web programming languages and the ecosystem should support the work of programs in offline mode, as well as facilitate the creation and debugging of applications.
Author Dart named several obscure experimental web programming languages.
One of them is
Elm , a functional programming language for creating GUIs. Just a few lines on Elm are enough for the user to draw a circle in the browser window with the mouse in the client program.
')
import Mouse import Graphics.Collage redCircle x = collage 200 300 [filled red (circle (toFloat x))] main = lift redCircle Mouse.x
At the same time, Elm is designed in such a way that when adding code to the web editor, the preliminary result of the program execution is immediately displayed. As one of the authors of the Java Language Specification, Gilad Bracha said that this is extremely difficult to implement in Java GUI tools.
He also showed the lively code editor for "interactive programming." That provides
direct manipulation of objects in the browser (morphs). Even the Lively editor itself is also a morph, allowing you to move control buttons around the screen.
In the end, Gilad Braha showed other "interactive" languages
Leisure and
Newspeak , and he himself was involved in the creation of the latter.