12 ms·
I wish they had the courage to get rid of the registry.
by andrewstuart 8y ago
I wish they had the courage to get rid of the registry.
- stephengillie 8y agoWhat would replace it? Thousands of individual config files? That's a mess to manage. What the Windows Registry needs is a REST API.
- Jedd 8y ago> What would replace it? Thousands of individual config files? That's a mess to manage. That's not necessarily true. In the 90's I worked at a large telco where we'd gotten good user roaming functionality along with package management using third party tools, for about 1600 applications, on Windows 3. Uninstalling a package demonstrably left no remnants behind. The migration to Windows 95 was troublesome partly because it was much harder for roaming users, but mostly the registry was much more difficult to manage - Office applications were notably impolite, with thousands of registry entries, many of which lingered after an uninstall, and no way to sanitise the registry other than reinstalling the OS. If you're using a computer without a package management system I could see how you could be convinced config files are harder to manage (by hand) than an opaque blob that poorly hides its ugliness, but you'd have bigger problems.
- gruez 8y ago>What the Windows Registry needs is a REST API. shudders
- badpun 8y ago> What the Windows Registry needs is a REST API. Why would you want a networked API for stuff that should be internal to the machine?
- orf 8y agoAnd replace it with?
- CyberDildonics 8y agoReplace it with an SQLite db for OS settings and make programs save their settings in files so they are contained within a single directory.
- orf 8y agoAnd when you realize sqlite is both untyped and completely unsuitable for this (concurrent writes anybody?), then what? Also FYI the registry is stored in a single file.
- nightski 8y agoYea the storage format isn't the problem (MS has its own tech like LocalDB or some variant of SQL server that could be used). The problem has always been that the data is shared system wide, even if it doesn't need to be. That and there is no easy way to clean up the registry if uninstalled programs did not do so properly.
- orf 8y agoI agree, that's more of the issue. But how would you solve it? What is 'uninstalling'? Via what mechanism? Should 'rm -rf program/' clean up the registry? How?
- marcosdumay 8y agoWell, what does Android do? The uninstalling procedure should clean the registry. "Uninstalling" is whatever the OS standardize as the correct procedure, Windows has one already, but it's reminiscent of the way people did packages by the time Linux software was distributed in tgz archives.
- orf 8y agoAndroid is way more tightly controlled, uninstalling an applications scoped data is just removing a directory. In Windows it's up to the app to clean up. It's not as great as *nix, but nobody is saying it was. Apt and friends just do the cleanup for the app, in a standardized way. If they miss something it's still there.
- viraptor 8y agoWhy? What's the goal / advantage?
- cm2187 8y agoActually they are the first to complain about the registry. The problem is that an app will make some changes all over the registry so it hard to uninstall it cleanly or control the state of the machine. They are considering exposing a virtual registry to an app and saving the diff the app applies and stuff like that.
- jodrellblank 8y agoThey have been doing that for backwards compatibility with apps that used to request system-wide registry permissions but didn't need them, for a decade - https://msdn.microsoft.com/en-us/library/bb530198.aspx https://msdn.microsoft.com/en-us/library/bb530198.aspx
- rustcharm 8y agoMost applications today store their preferences in an AppData directory that can be per user, per machine, or per network. The registry is used largely for OS settings.