Intel Core i7 8665U 's Advantages
Integrated graphics card
Lower TDP (15W vs 28W)
AMD Ryzen 5 PRO 8640U 's Advantages
Released 5 years late
Higher specification of memory (DDR5-5600 vs DDR4-2400)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.5GHz vs 1.9GHz)
Larger L3 cache size (16MB vs 8MB)