Intel Core i7 7700K 's Advantages
Higher base frequency (4.2GHz vs 3.9GHz)
AMD Ryzen 5 5600G 's Advantages
Released 4 years and 3 months late
Better graphics card performance
Higher specification of memory (DDR4-3200 vs DDR4-2400)
Larger memory bandwidth (51.2GB/s vs 35.76GB/s)
Larger L3 cache size (16MB vs 8MB)
Lower TDP (45W vs 91W)