4 ms·
Considering the insane memory consumption of claude code running in my terminal, electron was never really the problem, bad software was the culprit all along.
by Suro 5mo ago
Considering the insane memory consumption of claude code running in my terminal, electron was never really the problem, bad software was the culprit all along.
- onemoresoop 5mo agoCan’t say that electron does not encourage bad software, quite the opposite
- treyd 5mo agoIt's an example of bad code that further encourages more bad code.
- Redster 5mo agoAlways has been.
- fasterik 5mo agoThe culprit is using web technologies where they don't belong, which Electron is also guilty of. Claude Code is 400k lines of JavaScript for a TUI where a sane implementation in C would be two orders of magnitude less code.
- jorvi 5mo agoYup. VSCode is really fast and memory-frugal for an Electron application of that complexity. Likewise, Gnome has proven that you can write entire UIs in Javascript and have them be quite performant. Electron (well, Node is a big sub-culprit) and Javascript in general just make it really easy to create a slow, bloated application.