4 ms·
My impression is that it's the NodeJS, Go and Rust communities that don't care about XDG. This 11 year old, open issue is very symptomatic of this IMHO: https:
by mr_mitm 2mo ago
My impression is that it's the NodeJS, Go and Rust communities that don't care about XDG.
This 11 year old, open issue is very symptomatic of this IMHO: https://github.com/rust-lang/cargo/issues/1734 https://github.com/rust-lang/cargo/issues/1734
- Philpax 2mo agoIn my experience, the Rust community very much cares - it is a struggle to find a modern Rust application of any popularity that does not abide by XDG. .cargo's placement is a historical mistake that can't be undone now, but ecosystem participants are generally good participants.
- ptman 2mo agoGo isn't perfect, but $GOPATH isn't really used that much anymore. There's a bunch of stuff in ~/.config/ and ~/.cache/
- mr_mitm 2mo agoGo creates `~/go` by default. It's not even hidden. Unfortunately, saying it's not really used that much doesn't help with this.
- olowe 2mo agoNot sure about use in the Go community at large but Go introduced os.UserConfigDir[1] which is portable across Windows, macOS, Plan 9 and Linux/BSD as per XDG back in 2019. Also CacheDir. [1]: https://pkg.go.dev/os#UserConfigDir https://pkg.go.dev/os#UserConfigDir
- maleldil 2mo ago> On Darwin, it returns $HOME/Library/Application Support Which is not the behaviour most people would think is sensible, especially for CLI programs.
- frantathefranta 2mo agoGhostty has chosen to use that as the default and I feel like it's going to be the tipping point where people will assume $HOME/Library/Application Support is normal for CLI programs.
- gcr 2mo agoMac users are used to checking ~/Library/Application Support/App, ~/.app, and ~/.local/config/app
- jonaustin 2mo agofwiw, it absolutely drives me nuts that cli programs are putting configs in that hard to reach folder (long path name and _spaces_ in the folder name ugh)