3 ms·
When talking about raw local performance ("why my 4 cores today work similar or worse than 1 core yesterday?") I think part of the answer is: because yesterday
by j1elo 5y ago
When talking about raw local performance ("why my 4 cores today work similar or worse than 1 core yesterday?") I think part of the answer is: because yesterday we had comparatively less software, but it was written in closer to the metal languages (i.e. C/C++ and similar) while now there are x1000 more devs out there, most of them looking into writing their desktop applet with JavaScript / other languages similarly far from the metal, and wanting to know as little as possible about the hardware, thus relying on dozens of abstraction layers just to make their lives much easier (and their softwate much crappier).
Typical counterpoint is VSCode, wtitten in Electron. But you know, VSCode has had some serious engineering and optimisation effort ($$$) so not really a typical example at all.
- e3bc54b2 5y agoVSCode is least crappy Electron application, but that doesn't mean its not crappy. It does less than half things that Intellij IDEs do at base install, and stillmanages to be slow and regularly lock up. And that is a comparison for feature rich use. If one compares VSCode the editor vs Kate/Emacs/Kdevelop there is no performance match.
- j1elo 5y agoI agree, but I have a counterpoint. Kate has been my editor of choice for all text editing things, I think since times of KDE 3 (so you see it's a long lasting preference by now). However, I have always used JEdit to copy-paste huge text, like anything beyond 100k log lines from some software. JEdit seems to handle everything fine, while Kate has always hung up on me during some 10s of seconds (any kind of parsing or colorization are disabled in Kate, and the minimap is too... after that wait, everything works fine though). Turns out, VSCode handles this kind of pasting nicely too, so I've replaces JEdit with it. Which drives me to think there is some low hanging fruit performance wise in Kate.
- e3bc54b2 5y agoI've had similar waiting experience with Sublime for large text bodies. VSCode, IME (been couple years since I tried) absolutely choked and eventually had to terminate. These days, I stick to Emacs and Vim (terminal) for large files. Perks of being in a Linux shop, I guess.