7 ms·
As I'm sure your aware, those mechanisms aren't ideal. There are performance, maintenance and various other problems with them. They exist because distro's are
by StillBored 6y ago
As I'm sure your aware, those mechanisms aren't ideal. There are performance, maintenance and various other problems with them. They exist because distro's are compiled to the lowest acceptable common denominator and then libraries/etc are swapped in as needed. For something like x86, this is an acceptable tradeoff because there is an expectation that a distro boots on a 25 year old computer as well as the latest amd/intel offerings with a ton of new instructions.
That said, if you rebuild many apps with -march=native, -flto, etc there are frequently large performance benefits due to the compiler being able to selectively use things like AVX512/whatever for random code sequences where calling out to a library function, or checking for feature existence at runtime wipes out much of the perf advantage.
A large part of the advantage of a new architecture would be avoiding all this crap. If it comes baked in from the start that isn't a good start, considering what it will look like in a decade or two.