this post was submitted on 10 May 2026
118 points (96.1% liked)

Memes

55837 readers
873 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 7 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] plyth@feddit.org 7 points 1 week ago* (last edited 1 week ago) (5 children)

I wait for the day that systemd unifies all /etc config file and the .* config files into one easy to use service that stores the configurations in one efficient central binary file with a tree structure for the values and thus maintains consistency over all applications, is easy to backup and overall makes life much better for developers and users alike.

[–] Cysioland@lemmygrad.ml 12 points 1 week ago

is that a Windows Registry joke?

[–] SubArcticTundra@lemmy.ml 5 points 1 week ago (1 children)

For desktop/app level stuff this is already the case with DConf, so I guess the challenge would just be to extend this into the kernel/services how

[–] plyth@feddit.org 2 points 1 week ago* (last edited 1 week ago)

Avoiding round trips and context switches is desirable in itself, but the real advantage[citation needed] comes from allowing the I/O scheduler in the kernel to do a better job by saturating it with requests coming from all of the applications trying to read their keys (as opposed to a common configuration server serially requesting a single key at a time).

Having all of the keys in a single compact binary format also avoids the intense fragmentation problems currently experienced by the tree-of-directories-of-xml-files approach

https://en.wikipedia.org/wiki/Dconf

I didn't know.

[–] SubArcticTundra@lemmy.ml 4 points 1 week ago* (last edited 1 week ago) (1 children)

Ideally stores/spits them out as JSON. Also for the kernel please.

[–] klankin@piefed.ca 3 points 1 week ago (1 children)

Am I having a stroke or are you intentionally describing nixos

[–] SubArcticTundra@lemmy.ml 2 points 1 week ago* (last edited 1 week ago) (1 children)

Idk I found its config language kinda confusing. JSON is stupidly simple

[–] klankin@piefed.ca 1 points 1 week ago

Admittedly it is pretty confusing, but its spec describes it as "json with functions", and once you get a handle on the recursive aspect of it (and that it kinda smushes multiple imported jsons together), its not too bad.

Stupid useful too

[–] Yoddel_Hickory@piefed.ca 4 points 1 week ago

Wow I'd reguster for that right away 😉

[–] tutter@lemmy.blahaj.zone 3 points 1 week ago* (last edited 1 week ago)

Basically nixos*

*with home manager and a .conf flake