Intel Core i3 4170 's Advantages
Integrated graphics card
Lower TDP (54W vs 112W)
Intel Core i5 7640X 's Advantages
Released 2 years and 2 months late
Higher specification of memory (2666 vs 1600)
Larger memory bandwidth (42.7GB/s vs 25.6GB/s)
Higher base frequency (4.0GHz vs 3.7GHz)
Larger L3 cache size (6MB vs 3MB)
More modern manufacturing process (14nm vs 22nm)