Intel Core i5 7640X Advantages
Higher base frequency (4.0GHz vs 3.7GHz)
AMD Ryzen 5 7400F Advantages
Released 7 years and 8 months late
Higher specification of memory (5200 vs 2666)
Larger memory bandwidth (83.2GB/s vs 42.7GB/s)
Newer PCIe version (5 vs 3.0)
Larger L3 cache size (32MB vs 6MB)
More modern manufacturing process (5nm vs 14nm)
Lower TDP (65W vs 112W)