News for hackers. Stuff that matters.
Re:Why the Windows Registry sucks technically (2010) by ElectricalUnion on Friday July 29, 2022 @03:00PM (#32280574)
There are several libraries that handle directory for you in the appropriate OS-specific manner.

One Rust example being https://github.com/dirs-dev/dirs-rs

> The library provides the location of these directories by leveraging the mechanisms defined by

> the XDG base directory and the XDG user directory specifications on Linux and Redox

> the Known Folder API on Windows

> the Standard Directories guidelines on macOS

There are no comments on this comment yet.