[maemo-users] Choice of Programming Languages

From: Eero Tamminen eero.tamminen at nokia.com
Date: Thu Apr 26 18:49:26 EEST 2007

ext Simon Budig wrote:
>> Why JavaScript would be slower than the other interpreted languages
>> like Python, Perl etc?
> It is not only the language itself, it is also the latency involved for
> contacting the (although local) webserver and/or recomputing the layout
> of the page.

Er.  Why you would want to get your (JavaScript) program through
a (local) webserver instead of having it just in a (HTML) file?

Another nice thing of JS programs is that you don't need to do
.desktop file or create a D-BUS service, you can just bookmark
your local file. :-)

	- Eero

PS. I'm not suggesting using this for anything serious, but for things
like IP-mask calculators etc it should be fine.

> Latency is one of the primary concerns for usability. Users get
> frustrated quickly if a GUI takes its time to react. For Python you have
> a backend library for the GUI that is reasonably fast, if you have to do
> the same in javascript/html it is bound to be slower, since it is not
> designed for that task. Of course it gets worse if there is any real
> network involved between the server and the client.
> Bye,
>          Simon

More information about the maemo-users mailing list