• @yukijoou
    link
    64 months ago

    the desktop shell is mostly javascript though

    • @priapus@sh.itjust.works
      link
      fedilink
      English
      144 months ago

      Closer to 50/50, and other parts of the GNOME desktop like mutter, are largely C. Saying the entire GNOME desktop is mostly JS is silly.

      • kbal
        link
        fedilink
        24 months ago

        On the other hand, saying that there’s way too much javascript in it is objectively factual.

        • @priapus@sh.itjust.works
          link
          fedilink
          English
          104 months ago

          You don’t get to decide what too much JS in the project is unless you actually work on and have in depth knowledge of the project. I dont like JS, but it has its uses.

          Many people are conflating modern electron bloatware with ‘JS bad’, but things are not that simple.

      • ara
        link
        fedilink
        14 months ago

        No one here said GNOME desktop is mostly JS.

        • @priapus@sh.itjust.works
          link
          fedilink
          English
          14 months ago

          You’re right, they said the desktop shell, which is still incorrect, but I guess a little less incorrect. My bad.

          • ara
            link
            fedilink
            14 months ago

            Well, I started this thread saying it runs on JavaScript, and I mean that they need JS for most of the interactions with the desktop, like gesture or mouse events. 😞 Even if most of the code is C, we all know we need to write much many lines of code of C to do the same with JS, so most of the logics on GNOME is computed by JS. We need some rust here. 🦀 🦀 🦀 🦀

      • @priapus@sh.itjust.works
        link
        fedilink
        English
        104 months ago

        That page also shows that there is more C. That page is also specifically the shell, not all of the desktop.

        • ara
          link
          fedilink
          14 months ago

          There is less than 4% more code in C than JavaScript. That’s pretty much, many features on the gnome-desktop is using JavaScript too, like gestures and mouse events.

    • Possibly linux
      link
      fedilink
      English
      14 months ago

      The JavaScript and typescript gtk bindings are nice and make building apps nice.