Unless you need the features on the Pi's 40-pin GPIO connector or very low power consumption a mini PC is a much better bet for general compute.
replies(6):
The GPIO header and community remain a solid reason to still opt for the Pi, but the age of "raspberry pi as a cheap home server" is pretty much over, thanks to Intel and AMD slowly watching up to ARM.
There are at least two SBCs that have N100s and an RP2350 or 2040 onboard that can do you gpio, and at least one that has native GPIO. I have a Radxa X4 and it runs Arch great (only downside is the crappy stock cooler, no cases, and the unfortunate Pi B form factor).