Intel Core i5 6400 's Advantages
Lower TDP (65W vs 105W)
AMD Ryzen 7 7700X 's Advantages
Released 7 years late
Higher specification of memory (5200 vs 2133)
Larger memory bandwidth (83.2GB/s vs 34.1GB/s)
Newer PCIe version (5.0 vs 3.0)
Higher base frequency (4.5GHz vs 2.7GHz)
Larger L3 cache size (32MB vs 6MB)
More modern manufacturing process (5nm vs 14nm)