top | item 46782595

(no title)

amazari | 1 month ago

You know that all the Wayland primitives, event handling and drawing in gnome-shell are handled in C/native code through Mutter, right ? The JavaScript in gnome-shell is the cherry on top for scripting, similar to C#/Lua (or any GCed language) in game engines, elisp in Emacs, event JS in QtQuick/QML.

It is not the performance bottleneck people seem to believe.

discuss

order

pjmlp|1 month ago

I can dig out the old GNOME tickets and related blog posts...

Implementation matters, including proper use of JIT/AOT toolchains.

joe_mamba|1 month ago

>I can dig out the old GNOME tickets and related blog posts...

That's the easiest way you can win any argument on gnome. You're going straight for the nuclear option.

ChocolateGod|1 month ago

It has been the case that stalls in the GJS land can stall the compositor though, especially if it's during a GC cycle.

silon42|1 month ago

is GJS in the compositor?