3 ms·
Ah, Linux, still figuring out what the designers of the Amiga knew 40 years ago.
by bitwize 3y ago
Ah, Linux, still figuring out what the designers of the Amiga knew 40 years ago.
- pengaru 3y agoTBF, for the longest time XFree86/XOrg handled pointer events/updates in a signal handler. The only time you'd have pointer stutters in that epoch of X on Linux was because interrupts were disabled for too long (`hdparm -u` ring a bell for anyone?). At some point this was moved to an input thread, probably around when glamour happened. You can't do complex junk like OpenGL calls from within a signal handler. Some things were easier to do better when X implemented the full graphics stack. Nowadays in a Wayland world the compositor is still hamstrung by what execution contexts it can call its underlying GPU-acceleration API from. So I doubt we'll see the same kind of lean and mean signal handler approach of ye olde X. The best you can probably do there is a dedicated high-priority thread.
- midoridensha 3y agoIt's not just Linux, it's everyone really, and for many things (not just Amigas). There are many places where people have failed to learn from the past, and reinvented the wheel badly.