I have a Deck and an RG351V for comparison. The Deck ergos are fine but it's noticeably larger than a Switch which is already too big to just slip in a pocket like the Anbernic. I love the flexibility of being able to play PC and it can run up to lighter PS3 games which is way beyond the RG351 but I would probably want something smaller like an Ayn Odin for purely retro gaming.
There's a great book called "Skunk Works" by Ben Rich (head of the F-117 project) that goes into the development. It's amazing what they were able to accomplish with so little computing power.