Announcement

Collapse
No announcement yet.

GNOME To Use JavaScript For New User Programs

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • GNOME To Use JavaScript For New User Programs

    Phoronix: GNOME To Use JavaScript For New User Programs

    At the GNOME Developer Experience Hackfest last week in Brussels, GNOME developers decided to recommend JavaScript as the new language for writing GNOME applications...

    http://www.phoronix.com/vr.php?view=MTI5MjU

  • #2
    Meh, I'm just gonna target generic universal HTML5 instead, maybe with some help from JQuery UI.

    Comment


    • #3
      [ ] you know the difference

      Comment


      • #4
        Now this article gave me quite the laugh.

        Comment


        • #5
          Sad story . They are pretty much keeping the crash and burn course .

          Comment


          • #6
            developers like the language
            I'm sure many due, but I write in Javascript every day, and I can honestly say it's one of the worse, most bug-prone languages i've ever used. Granted, the version Gnome desktop is running supports better features than what you can get away with in today's browsers. Still, prototype-inheritance + dynamic objects = developer hell for large applications. They should be pushing Vala instead, or hell, use Google's Dart with Dart VM if they really want to keep around weak-typing.. at least that has sane security, decent performance, and OOP design.

            IMO, Gnome should rewrite all the Javascript code they have controlling Gnome into Vala code (like Elementary did [i believe]). The only argument for Javascript here is that it's "good for extensions".. which isn't really the case, seeing as how almost every extension breaks from one version of Shell to the next. I like Gnome, but Elementary's developers seem a bit more sane (no offense).

            Comment


            • #7
              Javascript? Why exactly Javascript?
              In my opinion it's a horrid language...

              Why not Python instead ?

              By chance, do they mean HTML+Javascript with "GNOME appliations", or actually Javascript as a stand-alone "program"?

              Related:
              wat - https://www.youtube.com/watch?v=kXEgk1Hdze0
              Last edited by j2723; 02-04-2013, 09:17 PM.

              Comment


              • #8
                Javascript has it's uses

                It's good for a scripting language that you can code a UI with.

                I hope GNOME isn't recommending it's use for full scale apps, though, because javascript does not scale very well. It's going to be a nightmare if you start creating large codebases with it.

                Comment


                • #9
                  KDE is heading in this direction too. How does it compare with QML?

                  Comment


                  • #10
                    Originally posted by j2723 View Post
                    By chance, do they mean HTML+Javascript with "GNOME appliations", or actually Javascript as a stand-alone "program"?
                    The latter. Remember, this isn't anything new, this just represents a decision to promote it as the language of choice for people wanting to code stuff on Gnome and who don't want to use C. The actual platform has been there for quite a few years - there were JS-based games in the later releases of the Gnome 2 series...

                    Comment


                    • #11
                      Originally posted by j2723 View Post
                      Javascript? Why exactly Javascript?
                      In my opinion it's a horrid language...

                      Why not Python instead ?

                      By chance, do they mean HTML+Javascript with "GNOME appliations", or actually Javascript as a stand-alone "program"?

                      Related:
                      wat - https://www.youtube.com/watch?v=kXEgk1Hdze0
                      this is one gnome dev's take on "why not python"

                      http://www.j5live.com/2013/02/04/gnome-and-languages/

                      Comment


                      • #12
                        I want nothing to do with Javascript. Why not just use Qt? That's my favourite GUI framework; the most fully featured; cross-compile compatible; easy to learn and program; looks perfect in any desktop environment. After all, actual C++ code is more efficient than any scripting code.

                        Comment


                        • #13
                          Originally posted by mmstick View Post
                          I want nothing to do with Javascript. Why not just use Qt?
                          Trolling much?

                          After all, actual C++ code is more efficient than any scripting code.
                          In this case I think the speedup gained from writing everything in C++ (or C, which is more common with GNOME) is more or less negligible.

                          Comment


                          • #14
                            Originally posted by kigurai View Post
                            In this case I think the speedup gained from writing everything in C++ (or C, which is more common with GNOME) is more or less negligible.
                            i don't think so. we are not talking of extensions but of full featured standalone programs.

                            Comment


                            • #15
                              Personally I hate Javascript. But now a days many new programmers are coming from web programming. Even in my country which is a 3rd world country, no of school students know web programming is increasing a lot. I know some people who only learns PHP + HTML + JS + CSS ,without any formal Computer Science/Engineering courses and now earning more then undergraduate engineers. JS(Olso QT's QML) will attract them to target desktop apps.

                              Comment

                              Working...
                              X