Majority f laptops today are equipped with 8 gigs of RAM. However, this isn't enough because most developers no longer write software based on the current hardware specs of the market as they used to. It's not that it's impossible, they just don't care about user's hardware and they focus on developing software with lot's of features.
Tell that to the user that try to run Spotify, Teams, (Outlook Mail?), and other electron stuff. I don't think it's that much hassle to write a <lang> core and use FFI or RPC with each OS native platform UI (or use QT).
We're not in the rocket launching business. Desktop memory is cheap and nodejs/electron makes it easy to develop cross platform.