Services are bash scripts?
Oh no. That’s horrifying. I’ll never go back to the bad old days where my system constantly has dozens of untestable buggy bash scripts running.
I currently have zero bash scripts running on my system until I open steam, and there’s no world where I’d go back.
/bin/sh is not /bin/bash
POSIX shells are horrible unmaintainable bug factories.
shellcheck is not enough to make them safe programming languages. They are acceptable only in an interactive context.
Having anything encourage people to write POSIXy shell scripts is a design flaw.
Continue your ranting on some OpenBSD (uses /bin/ksh in init scripts) mailing list ?
I don’t think those are better or worse. My point isn’t about some ancient far too limiting standard, but about how easy it is to wreck everything by not knowing some obscure syntactical rule. My issue is about implicit conversion between strings and arrays, about silently swallowing errors and so on. And the only shell languages that I know aren’t idiotic are nushell and Powershell.
That KDE theme that nuked some user’s home directory? Used a bash script. That time the bumblebee graphics card switching utility deleted /var? Bash script. Any time some build system broke because of a space in a path: bash/ZSH/… script.
Why would anyone make an init system based on shell scripts these days?
The author would likely really enjoy gentoo. Imo it has all those benefits and a little more, plus its more popular.
They are similar but one is mainly a source based distro which can also install binary packages while void is the other way around. Each has its advantages and downsides.
You already said it, but even if you want mostly binaries, gentoo is becoming a distribution that can do that. So I don’t think this is something that sets them apart.
Plus, gentoo handles compilations so well, it is almost as simple as binary package managers.
I haven’t compared it myself but xbps is supposedly much faster than portage for binary packages. I know it ain’t really an important metric but still.
I think void has better binary package support though. I don’t have the statistics but it seems that still not all gentoo packages are offered in binary form, especially on arm or legacy x86. I also think GURU is source only which is sometimes an issue when installing some obscure software.
GURU is source only
Is void different? Does it have a user repository that provides binaries directly?
My familiarity is with AUR, which does not provide the binaries directly. I suppose you can write a PKGBUILD that only installs a binary, but you could do the same with ebuild.
On binary support, I imagine you’re right. Binary support in gentoo is new. I imagine it will only get better.
well my point was that obscure software is “often” (in my experience) packaged only in GURU, while void has official packages. My guess is that it is because GURU is official-ish while void has no such thing so there is bigger “pressure” to build binaries.
I didn’t look much into void, but when I did, gentoo’s repository is much larger and there are many packages that I’d call obscure that happen to be in the main repos.
The situations I’ve had to reach to guru are rare. I bet that gentoo has more obscure stuff in its main repo, though I don’t have the numbers to prove it.