Linked by Thom Holwerda on Mon 4th Feb 2013 18:41 UTC
Gnome "At the GNOME Developer Experience Hackfest in Brussels, the GNOME developer community has tackled the problem of specifying a canonical development language for writing applications for the GNOME desktop. According to a blog post by Collabora engineer and GNOME developer Travis Reitter, members of the GNOME team are often asked what tools should be used when writing an application for the desktop environment and, up until now, there has been no definitive answer. The team has now apparently decided to standardise on JavaScript for user-facing applications while still recommending C as the language to write system libraries in." Discuss.
Thread beginning with comment 551401
To read all comments associated with this story, please click here.
Oh God NO!
by linux-lover on Mon 4th Feb 2013 20:47 UTC
linux-lover
Member since:
2011-04-25

First everyone was writing all their apps with pygtk. Now it's javascript.

Watch as apps become increasingly unresponsive and sluggish just like they did with python.

Why can't you just write apps using native, compiled languages? If C or C++ is too much hassle for a small GUI app, why not use Vala or D? Hell, Vala was created by gnome! (afaik)

https://live.gnome.org/Vala
http://dlang.org/

Reply Score: 3

RE: Oh God NO!
by YEPHENAS on Mon 4th Feb 2013 21:20 in reply to "Oh God NO!"
YEPHENAS Member since:
2008-07-14

Today's JavaScript engines are way faster than the standard Python implementation, see: http://benchmarksgame.alioth.debian.org/u32/which-programs-are-fast...

Reply Parent Score: 2

RE: Oh God NO!
by ssokolow on Tue 5th Feb 2013 00:21 in reply to "Oh God NO!"
ssokolow Member since:
2010-01-21

Why can't you just write apps using native, compiled languages? If C or C++ is too much hassle for a small GUI app, why not use Vala or D? Hell, Vala was created by gnome! (afaik)


I'm writing a Vala application. It's quite nice in many ways... but its string manipulation functions are often pathetic. For example, I could find no way (short of coding the function myself) to concatenate an array of strings short of iterating through and doing it bit by bit.

Python: result = ''.join(strings)
Perl: my $result = join('', @strings);
PHP: $result = implode('', $strings);

...and, as with any language, the selection of readily-available libraries has its strengths and weaknesses.

For example, I don't remember seeing an equivalent to Python's highly-lenient, highly-unit-tested feedparser library in Vala, but Vala has access to an interesting SQLite ORM named SQLHeavy which Python only gained access to when it added GObject introspection support.

Edited 2013-02-05 00:23 UTC

Reply Parent Score: 6

RE[2]: Oh God NO!
by Lennie on Tue 5th Feb 2013 15:06 in reply to "RE: Oh God NO!"
Lennie Member since:
2007-09-22

When you do a default install of Ubuntu, you get lightdm, which is written in Vala and it is slow as hell on a lot of less powerful systems.

So my guess is Vala might not be all that great either.

Reply Parent Score: 2