Why doesn't flatpak provide vendor optimized binaries like cachyos repos
Posted by South-Shoe9050@reddit | linux | View on Reddit | 6 comments
I mean, the cachyos repos have seen SIGNIFICANT performance gains by doing that. AND I know that it would directly contradict flatpak s aim of providing universal support but come on, optimizing libraries can go a long way and lead to performance being a plus point instead of a minus one
InfiniteSheepherder1@reddit
Idk Cachy OS runs slower then Debian/Fedora in some of these benchmarks, I am not sure it has performance gains let alone significant ones. The v4 builds run behind the v2 builds in some benchmarks
Some examples.
https://www.phoronix.com/review/framework-12-linux-os/6
The optimizations don't seem to actually provide much that can actually be benchmarked.
LousyMeatStew@reddit
CachyOS can provide an x86-64-v2, x86-64-v3 and x86-64-v4 versions of a binary and your package manager will select the highest based on what your CPU supports. Flatpak doesn't support this.
natermer@reddit
Ideally Flatpaks should be provided directly by upstream projects, or people working directly with upstream projects. This isn't what happens all the time, but it is the goal.
So if the developers of the software think it is worth their time to provide optimized binaries then there is nothing stopping them other then practical limitations.
Probably not as much as you imagine. Unless somebody can show this in benchmarks then it is probably more in people's heads then anything else.
da_peda@reddit
I mean aside from the whole sandboxing that Flatpak does to isolate the application as best as possible from the OS to ensure both universal availability and security against malicious applications?
ben2talk@reddit
That would be because flatpak isn't an opinionated distribution method targeted at folks who have the right hardware to benefit.
The 'SIGNIFICANT' performance gains aren't even noticeable by most people, but there are also issues experienced by many other people.
Generally, we expect SANE defaults - not highly optimised for specific use cases.
AnEagleisnotme@reddit
The vendor provides what they want on flathub, if they want to ship an optimisation, they do