Announcement

Collapse
No announcement yet.

GNOME Might Need To Crack Down On Their JavaScript Extensions

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

  • #31
    Originally posted by -MacNuke- View Post

    Network awareness has nothing to do with RDP/VNC... It is not "impossible" with Wayland...
    It is closer than you think. For VNC or RDP to work with proper sessions they each create a server (Xvnc, Xrdp respectively) which the X11 toolkits then connect to. These multiple servers running is what allows multiple clients to each have a separate session. What we have with wayland is more akin to the desktop in Windows 95 where as well as being crashed by a single application, it also cannot support multiple users on the same box.

    Comment


    • #32
      So crash. Much bash. All your base are belong to us.

      Comment


      • #33
        Originally posted by kpedersen View Post
        it also cannot support multiple users on the same box.
        And it cannot run separate sessions in separate nspawn/lxd/docker containers because of... oh, wait, I don't remember such limitation of Wayland protocol

        Comment


        • #34
          It's been the source of all my crashes in Debian. I disable most of them that aren't part of the official sets supported by Debian. Not one crash since. I imagine GNOME uses GJS because of a contractual relationship with Mozilla, but seeing as WebKit2 and it's Javscript core is integral in Epiphany and gets the vast majority of it's well tested code from WebKit proper you'd think they'd go with the latest from there and not Mozilla.

          Comment


          • #35
            Originally posted by pracedru View Post
            JavaScript is much the best performing and most stable interpreted language. Much much faster than python or ruby etc.
            the solution is to fix the bugs.
            How much faster it is than Lua? Which is nearly as fast as C.

            Comment


            • #36
              Originally posted by AsuMagic View Post
              If shell extensions manage to crash GNOME, it's not really the language at fault, but the way bindings are done.
              It is the language at fault, because it attracts poor quality garbage, as you said, it is "accessible" to a lot of people who simply shouldn't code at all.
              Originally posted by AsuMagic View Post
              Only partly true. Strictly speaking, a JS implementation could always generate code of an as good quality as a modern C++ compiler.
              No, unless you're speaking of extreme corner cases. In many cases compilers simply cannot do anything because the language doesn't give them enough low-level information.

              Comment


              • #37
                Originally posted by aht0 View Post
                How much faster it is than Lua? Which is nearly as fast as C.
                I like Lua, but that's false, sorry.

                Comment


                • #38
                  Originally posted by aht0 View Post

                  How much faster it is than Lua? Which is nearly as fast as C.
                  Not in a single test is Lua faster than Node.JS: https://benchmarksgame-team.pages.de.../lua-node.html

                  Not in a single test is None.JS faster than G++: https://benchmarksgame-team.pages.de.../node-gpp.html

                  I'm very sorry.

                  Comment


                  • #39
                    Originally posted by kpedersen View Post
                    It is closer than you think. For VNC or RDP to work with proper sessions they each create a server (Xvnc, Xrdp respectively) which the X11 toolkits then connect to. These multiple servers running is what allows multiple clients to each have a separate session.
                    Sounds like what gnome-shell's mutter is doing with it's Wayland/RDP backend.

                    Originally posted by kpedersen View Post
                    What we have with wayland is more akin to the desktop in Windows 95 where as well as being crashed by a single application, it also cannot support multiple users on the same box.
                    What we have with wayland is up to the compositor. The article is about gnome-shell3 crashing due to bad design decisions. The problem exists partially, since gnome-shell3's design is very X centric. A new design is on it's way. That will work better.

                    Also, you can happily run multiple wayland sessions of different and even the same users on the same PC. How did you get this idea?

                    Comment


                    • #40
                      Originally posted by kpedersen View Post
                      It is closer than you think. For VNC or RDP to work with proper sessions they each create a server (Xvnc, Xrdp respectively) which the X11 toolkits then connect to. These multiple servers running is what allows multiple clients to each have a separate session.
                      What makes you think that this is impossible with Wayland?

                      Comment

                      Working...
                      X