Dell and Lenovo may limit mid-range laptops to 8GB DDR5 RAM in response to rising memory prices
(www.notebookcheck.net)
It's all about velocity. Electron allows you to ship bullshit to multiple platforms REALLY fast because you only develop for the web, but get Windows, Linux and MacOS as a bonus.
Nobody wants to do C++ anymore, otherwise you could ship most things in Qt and get way better performance and still keep it cross-platform.