4 ms·
Why is a separate process necessary here?
by zerkten 1y ago
Why is a separate process necessary here?
- pvg 1y agoYou don’t want login settings, cursor blink rate settings and random app settings running in the same process
- kstrauser 1y agoWhy? Is there a mechanism by which one of those would be able to interfere with another?
- pvg 1y agoYes, the mechanism of “memory access”.
- sgt 1y agoI still think they could easily load quicker though. Even switching between the different menu items in Settings takes long, when going back to ones that you already used earlier. They don't seem to be doing a lot of caching. At least they could keep those processes running for a while. Unless it's actually SwiftUI taking time to render that UI, which would be bizarre. As a macOS user I am so used to everything happening in the blink of an eye, so this is something that stands out. It's really not a big problem, 300-400ms.
- kstrauser 1y agoOk, let me rewind a little. Are preference panes actually running apps? I imagined them more conceptually similar to an HTML form that System Settings displayed and processed and then wrote the results back to a plist or whatever. And in that model, there wouldn’t be a clear advantage to having separate processes. Was I imagining that wrong?
- pvg 1y agoYes they are more applike than UI-definition-like.