Remix.run Logo
Suro 10 hours 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.

fasterik 6 hours ago | parent | next [-]

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.

jorvi 5 hours ago | parent | prev | next [-]

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

onemoresoop 10 hours ago | parent | prev | next [-]

Can’t say that electron does not encourage bad software, quite the opposite

treyd 10 hours ago | parent [-]

It's an example of bad code that further encourages more bad code.

Redster 10 hours ago | parent | prev [-]

Always has been.