Originally posted by cybertraveler
View Post
Announcement
Collapse
No announcement yet.
GNOME Might Need To Crack Down On Their JavaScript Extensions
Collapse
X
-
Originally posted by discordian View Post
Yeah "looked like a good idea" to someone, very concise, logical and clear. Sorry, but that problems had been known for a long time, you need to coalesce drawing in one thread for performance (single rendering context, no locking) and you only do thing you can verify to not do random things (ie dont run client code, just client data).
java-script applets would not be the problem, letting them directly draw is.
If you were to compare his clear & logical blog post with your barely comprehensible comment above, then by comparison the blog post stands out as being deserving of even more positive praise.
"discordian": name checks outs.
- Likes 1
Comment
-
Originally posted by Tomin View Post
What do you mean by "cannot support multiple users on the same box"?.
Set up a computer in your house with VNC and see if your Mom, kid, wife, dog can all use their own Gnome 3 desktop at the same time.
Make sure that they all try running xprop and making sure that fails, otherwise you are obviously running Gnome via X11 instead of Wayland by mistake.
Good luck. Let me know how it goes
Comment
-
Originally posted by duby229 View Post
This is anecdotal at best, but it's very telling... That dudes blog is on wordpress... arghhh....
The main things I need to find time for being:- Writing the tools necessary to verify that I've broken no links in the migration process (I haven't broken a link that I had the power to preserve since I switched away from hosting-provider-specific URLs a little over a decade ago)
- Writing tools and doing manual auditing necessary to verify that everything that's not strictly HTML (eg. WordPress shortcodes) gets translated properly
- Writing an alternative to migrating all of my comments into Disqus. (I put a high value on supporting in-page comments, even if I only get them infrequently.)
Last edited by ssokolow; 01 August 2018, 05:19 PM.
Comment
-
Originally posted by kpedersen View Post
Honestly it is just easier for you to try it to understand how Gnome 3 / Wayland fails.
Set up a computer in your house with VNC and see if your Mom, kid, wife, dog can all use their own Gnome 3 desktop at the same time.
Make sure that they all try running xprop and making sure that fails, otherwise you are obviously running Gnome via X11 instead of Wayland by mistake.
Good luck. Let me know how it goes
Comment
-
Originally posted by AsuMagic View PostJavaScript is not so much of an awful idea on its own. I don't know what implementation they're using in GNOME but most of them are decently fast and memory usage is not too awful, especially not when you have to deal with something as simple as a shell extension. I don't like the language and I hate anything related to web tech, but it's hardly really going to matter here.
The big bonus with JS here is that many people know how to write in JS and that it isn't hard to learn either because it's so widly used.
If shell extensions manage to crash GNOME, it's not really the language at fault,
but the way bindings are done. From what I'm seeing from this dev's blog, they're absolute insanity if your focus is on stability. I bet it's trivial to take the whole shell down with a few lines of JS, just because you have such a huge amount of control over the shell.
If the design is similar to what I think it is, it's surely because it was at the time the easiest solution to let extensions be really extensive while not being a nightmare to implement.
Seeing the comments on that blog post, it looks like many of those crashes could certainly be prevented by hardening the code to things that could as well be warnings.
- Likes 1
Comment
-
Originally posted by tildearrow View Post
Or C/C++/Rust/<insert compiled language here>?
So yeah I have to agree if the GNOME team wants to impress me, start using languages like C++/Rust or Swift. Build your software so that it has a long future and is maintainable and understandable by many. By the way I know that Rust and Swift are not really ready for prime time. In an ideal world both would be standardized much in the way C or C++ have been.
It is my understanding that the people on the QT side of the world are hard at work adapting some of their older code to the latest C++ standards. If that goes well they could move that tool kit way ahead of GNOME. Note I've never been a KDE /QT fan, preferring the simpler environments. That could change though if they can deliver superior products that are reliable and maybe a little less gaudy.
Comment
-
Originally posted by Britoid View PostA window manager shouldn't be able to load third party code,
if it crashing brings down the entire session. That's just begging for issues. GNOME itself should not be the Window Manager, they need to split. What an awful design decision that seems to be just to "rush to get it onto Wayland"
By the way, on Fedora 28 I've had the WM crash and I have not load a single extension. So yeah a desktop crash is pretty bad.
Both Windows and OS X can do session recovery, so either recover the session or split GNOME and Mutter seems the most future-proof solution.
FYI I Use Gnome as my main DE, but I too am annoyed at its issues in performance.
Comment
Comment