Originally posted by Teho
View Post
Announcement
Collapse
No announcement yet.
GNOME To Use JavaScript For New User Programs
Collapse
X
-
Originally posted by kigurai View PostBecause anyone suggesting that GNOME should give up all the work and expertise they already have in GTK and switch to Qt is either trolling, or out of touch with reality.
As a side note: I really like Qt. For a cross platform project I'd choose that over GTK any day.
Comment
-
Craziness if you ask me. It isn't that developers don't need a good scripting type language, just that JavaScript is far from ideal. Personally Python would be a good solution for app development.
In any event this thread highlights a big issue with Linux, both KDE and Gnome are terrible development environments. People are starting to realize this and maybe that is why JavaScript is being promoted. However this more or less implies that Gnome needs to be rethought.
Comment
-
I really don't see a big difference from KDE. I get the impression kde propagate for java script/QML int the gui more and more and javascript or c++ in the other layer. To me it's look like the full c++ apps is destined to disappear also on kde. Plasma2 is supposed to be mostly in qml and javascript and also kwin use qml or javascript for animation and behavioral scripting.
The underlying code in the libs is c++ just as its c on gnome.
Comment
-
Originally posted by wizard69 View PostIn any event this thread highlights a big issue with Linux, both KDE and Gnome are terrible development environments.
Considering bindings do exist & are fairly well maintained, I would've preferred to have seen them come on-board w/Qt/QML, BUT given political clashes in the past I half-expected that to not happen, sadly.
That of course is only part of the equation, they are way more entrenched in the js side of things, so the upheaval isn't exactly easy...
*in a more coordinated/consolidated way then ever beforeLast edited by jalyst; 05 February 2013, 09:42 AM.
Comment
-
Originally posted by wizard69 View PostCraziness if you ask me. It isn't that developers don't need a good scripting type language, just that JavaScript is far from ideal. Personally Python would be a good solution for app development.
Comment
-
JavaScript is unsuitable for non-trivial applications because of
1. dynamic typing - performance will be (much) worse than with static typing in most cases
2. runtime compilation - compiler increases memory usage and slows down application especially start-up - code compiled during runtime can't be shared between processes/applicationsLast edited by JS987; 05 February 2013, 10:11 AM.
Comment
-
Originally posted by JS987 View PostJavaScript is unsuitable for non-trivial applications because of
1. dynamic typing - performance will be (much) worse than with static typing in most cases
2. runtime compilation - compiler increases memory usage and slows down application especially start-up - code compiled during runtime can't be shared between applications
Case in point: Youtube runs on Python.
Comment
-
Originally posted by kigurai View PostConsidering the huge number of non-trivial applications that are running on languages that have the properties you define, I'd say it is definitely suitable.
Case in point: Youtube runs on Python.Update 3: 7 Years Of YouTube Scalability Lessons In 30 Minutes and YouTube Strategy: Adding Jitte...
Youtube is also using Apache written in C and MySQL written in C/C++.
Youtube can add more servers if performance isn't sufficient.
Youtube web application is trivial compared to MySQL.
Comment
-
Originally posted by JS987 View Posthttp://highscalability.com/youtube-architecture
Youtube is also using Apache written in C and MySQL written in C/C++.
Youtube can add more servers if performance isn't sufficient.
Youtube web application is trivial compared to MySQL.
Comment
Comment