Intel Core i5 6400 's Advantages
Integrated graphics card
Lower TDP (65W vs 105W)
AMD Ryzen 7 5700X3D 's Advantages
Released 8 years and 4 months late
Higher specification of memory (DDR4-3200 vs DDR4-2133)
Larger memory bandwidth (51.2GB/s vs 34.1GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3GHz vs 2.7GHz)
Larger L3 cache size (96MB vs 6MB)