AMD Ryzen 7 5800U 's Advantages
Integrated graphics card
Lower TDP (25W vs 28W)
AMD Ryzen 7 PRO 8840U 's Advantages
Released 3 years and 3 months late
Higher specification of memory (5600 vs 4266)
Newer PCIe version (4 vs 3.0)
Higher base frequency (3.3GHz vs 1.9GHz)
More modern manufacturing process (4nm vs 7nm)