AMD Ryzen 7 4700G 's Advantages
Integrated graphics card
Lower TDP (65W vs 105W)
AMD Ryzen 7 5800XT 's Advantages
Released 4 years late
Larger memory bandwidth (47.68GB/s vs 43.71GB/s)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.8GHz vs 3.6GHz)
Larger L3 cache size (32MB vs 8MB)