When comparing trizen vs yay, the Slant community recommends yay for most people. In the question“What are the best AUR helpers for Arch-based Linux distributions?” yay is ranked 1st while trizen is ranked 2nd. The most important reason people chose yay is:
It's written in Go so it is fairly easy to add features or tweak this amazing tool.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy to use
It's very intuitive and has a pacman-like syntax.
Pro Being written in Perl, trizen has an extra level of security over bash as well as performance and power benefits inherent to Perl
It is written in Perl in a functional-recurisive way, featuring full AUR dependencies support.
Being written in Perl (or any other language, except bash), it means that it can't execute/source (silently) the PKGBUILD to get information for a package, which guarantees an extra-level of security. Other benefits are the performance and power that comes with Perl.
Pro Lightweight
It's written in Perl instead of Go that makes it so lightweight.
Pro AUR comments, search and upgrade support
It can display comments for AUR packages, search for AUR packages and check for AUR package updates.
Pro Secure
The PKGBUILD is not executed before it is displayed to the user and optionally edited.
Pro Availability
It's in the Manjaro packages.
Pro Easy to add features
It's written in Go so it is fairly easy to add features or tweak this amazing tool.
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 Yogurt interactive mode
Write package name without keys [yay <packagename>] to enter interactive mode.
Pro Doesn't rebuild already-installed apps like Trizen
Cons
Con Written in Go
Running a Go program requires the Go runtime. Go is also a garbage collected language, so the program isn't as responsive as it could be.