Teams, an electron app, uses 600+ MB of RAM. Slack, another electron app, uses 250+ MB of RAM. Outlook (not electron) 180 MB of RAM. (Still a pig) PowerPoint (not electron) 70 MB. Excel (not electron) 25 MB. Gnu Emacs: 3 MB. Adobe Photoshop: 50 +/- MB. A simple windows SDK program (all C) 1.4 MB. A tiny windows SDK program, all C: 0.5 MB of RAM
This is just RAM usage. For CPU load and overall performance the native apps win. Emacs startup time blows away VS code.
The question is valid. Why do we create modern desktop apps using HTML/CSS/JS?
Electron apps are only good if you sell hardware.