3 ms·
> -- Why does an 8 core mac have moments that it is so busy I can't even click anything but only see a pinwheel? It's not the hardware. No app should have the c
by pjc50 9y ago
> -- Why does an 8 core mac have moments that it is so busy I can't even click anything but only see a pinwheel? It's not the hardware. No app should have the capability, even if it tried, to slow down the OS/UI (without root access).
Back in 1999 I saw a demo of Nemesis at the Cambridge Computer Lab: a multithreaded OS that was designed to resist this kind of thing. Their demo was opening up various applications with a video playing in the corner and pointing out that it never missed a frame.
Even back then I understood that this was never going to make it to the mainstream.
> If the OS were modularizable it'd be trivial for me, a software engineer, to drop-in a replacement
You can do shell replacements and shell extensions on Windows. You can replace whatever you want on Linux. Non-customisability of MacOS is a Jobsian deliberate choice.
> event-driven architecture
Windows is actually rather good at this.
> all applications get the ability to share their content
> every app were confined to a single directory
Solving this conflict is extremely hard.
- digi_owl 9y agoI fear that on Linux the ability to do drop in replacements are being heavily curtailed by DEs chasing some kind of holy grail UX...
- redial 9y ago> Even back then I understood that this was never going to make it to the mainstream. Back in 1998[1][2] Apple demoed the then beta versions of OS X doing exactly that. Multiple video streams playing without missing frames, being resized into the dock, while still playing [3] (a feature that is not present any more), and even resisting highjacking by a bomb app. It all worked back then and it still does today. > Non-customisability of MacOS is a Jobsian deliberate choice. Also, there are multiple Finder replacements apps for the Mac, the thing is, nobody cares because the Finder is good enough for most people. [1] https://youtu.be/pz3J-WC0jp0?t=258 https://youtu.be/pz3J-WC0jp0?t=258 [2] https://youtu.be/GNYIYx7QRdc?t=4188 https://youtu.be/GNYIYx7QRdc?t=4188 [3] I can't find the link but it is in one of Job's keynotes from the 2000s
- JoBrad 9y agoContainerized apps are a step in the right direction. I like the concept that Mac/iOS uses for app installation. Although I've seen users lose an app they've just run way too often
- mnw21cam 9y ago> Back in 1999 I saw a demo of Nemesis at the Cambridge Computer Lab: a multithreaded OS that was designed to resist this kind of thing. Their demo was opening up various applications with a video playing in the corner and pointing out that it never missed a frame. Yes, but Nemesis was a proper real time OS. The video-playing application had asked the OS for a guarantee that it would get X MB/s of disc bandwidth, and that it would have Y ms of CPU time every Z ms. The scheduler then gave that application absolute priority over everything else running while inside those limits, in order to make that happen. This isn't hard. However, it conflicts with the notion of fair access to resources for all. The OS can only give a real-time guarantee to a limited number of processes, and it cannot rescind that guarantee. Why should one application get favourable access to resources just because it was the first one to reserve them all? How does the OS tell a genuine video-playing application from an application that wants to slow down the OS/UI? This is why applications need special privileges (i.e. usually root) in order to request real-time scheduling on Linux. It's complicated. Nemesis also did some nifty stuff with the GUI - individual applications were given responsibility to manage a set of pixels on the screen, and would update those pixels directly. This was specifically to avoid the problems inherent in the X-windows approach of high-priority tasks being funnelled through a lower-priority X server.