Intel Core i5 8400 's Advantages
Integrated graphics card
Lower TDP (65W vs 105W)
AMD Ryzen 7 5800XT 's Advantages
Released 6 years and 9 months late
Higher specification of memory (3200 vs 2666)
Larger memory bandwidth (47.68GB/s vs 41.6GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.8GHz vs 2.8GHz)
Larger L3 cache size (32MB vs 9MB)
More modern manufacturing process (7nm vs 14nm)