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.
The 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.