Intel Core i5 8400 's Advantages
Larger L3 cache size (9MB vs 8MB)
AMD Ryzen 3 8300G 's Advantages
Released 6 years and 3 months late
Better graphics card performance
Higher specification of memory (5200 vs 2666)
Larger memory bandwidth (83.2GB/s vs 41.6GB/s)
Newer PCIe version (4.0 vs 3.0)
Higher base frequency (3.4GHz vs 2.8GHz)
More modern manufacturing process (4nm vs 14nm)