When comparing XBPS (X Binary Package System) vs yay, the Slant community recommends XBPS (X Binary Package System) for most people. In the question“What are the best Linux package managers?” XBPS (X Binary Package System) is ranked 4th while yay is ranked 9th.
Ranked in these QuestionsQuestion Ranking
Pro Extremely fast
Pro Lots of features
XBPS can not only be used for installing/removing packages, but it can query for package info (such as version, dependencies, size etc), reconfigure packages, report and fix issues by modifying the package database, search for alternatives, manage local repositories and various other useful tools.
Pro Can Detect Incompatibilities
XBPS can detect incompatible shared libraries or dependencies and gives you options before installing.
Pro Written from scratch
Pro Can Install Binaries or Build From Source
When installing software you can choose to install binaries or build it from source (natively or cross-compiled).
Pro Intuitive CLI
Yay's commands and output make sense for anyone used to the pacman package manager.
Pro Written in Go
The compiled program is snappy while the source is easy to read.
Pro Available as a precompiled binary
Both yay and yay-bin are in the AUR, the latter of which doesn't require any dependencies or compilation, making installation and updates quick and painless.
Pro Easy to add features
It's written in Go so it is fairly easy to add features or tweak this amazing tool.
Pro Doesn't rebuild already-installed apps like Trizen
Con Not just one command to run
It's not a very big drawback, just not as convenient as one command with multiple options to remove and search for apps.