Intel Core i5 8400 's Advantages
Larger L3 cache size (9MB vs 8MB)
AMD Ryzen 3 5300G 's Advantages
Released 3 years and 6 months late
Higher specification of memory (3200 vs 2666)
Larger memory bandwidth (51.2GB/s vs 41.6GB/s)
Higher base frequency (4.0GHz vs 2.8GHz)
More modern manufacturing process (7nm vs 14nm)