First, this benchmark:
https://github.com/jhallen/joes-sandbox/tree/master/editor-perf
Where we see that two of the most popular code editors today, VSCode and Atom, perform 2 orders of magnitude worse at most tasks than editors of old. VSCode and Atom are both javascript+electron apps. The javascript electron stack leverages the facts that
1. Millions of developers are familiar with javascript, html, and CSS for creating GUIs
2. Every hardware platform on earth has a high performance javascript JIT
Because of these facts, javascript+electron is usually the first choice when someone wants to make a cross platform desktop GUI. (even the PostgreSQL people turned to it, to make the latest PGPAdmin, and it is not good). Javascript+Electron is seen as the easiest path. But at horrible cost.
So, how can we improve the situation?
You can see some of my thoughts and thoughts of the programming community in this thread started by that text editor benchmark:
https://www.reddit.com/r/programm...xt_editor_performance_comparison/