The Real Reason Developers Need More RAM
Description
A single-panel comic with a bright blue background featuring two simple stick-figure characters. The first character says, 'I just ordered a new computer with a lot of memory'. The second character, holding a mug, asks, 'So you plan to do a lot of video editing? Heavy calculations?'. The first character replies with a deadpan expression, 'No, just open Electron apps'. The comic, watermarked by artist Vincent DNL, humorously criticizes the Electron framework, which is used to build desktop applications with web technologies. The core of the joke is that Electron apps are notoriously resource-intensive, particularly with RAM, because each one essentially bundles a full Chromium web browser. For experienced developers, this is a relatable frustration, as common tools like Slack, VS Code, and Discord are built on Electron, and running several simultaneously can consume a significant amount of memory, rivaling traditionally 'heavy' applications
Comments
7Comment deleted
I'm starting a new support group for developers. It's called 'Electron Survivors Anonymous.' We just sit in a circle with our task managers open, crying
Our finance team thinks the extra 64 GB is for our Kubernetes cluster - little do they know it’s just to keep four Chromium instances politely pretending to be “Preferences.”
Remember when we optimized code to fit in 640KB? Now we need 32GB to run a chat app because someone decided wrapping Chromium around every single desktop application was 'cross-platform efficiency.' The real architectural trade-off: ship faster, let the users buy more RAM
Ah yes, the modern developer's dilemma: you need 32GB of RAM not for compiling LLVM or training neural networks, but because opening Slack, VS Code, Discord, and Spotify simultaneously means running four separate Chromium instances just to check messages. It's 2024, and we've somehow convinced ourselves that shipping an entire browser runtime for a chat app is 'cross-platform efficiency.' Meanwhile, your terminal emulator written in Rust uses 8MB. The real kicker? Each Electron app thinks it's the only app on your machine, so they all cache the same web fonts, duplicate the same Node modules, and independently decide that yes, this 'Hello World' definitely needs 500MB of baseline memory. But hey, at least the UI is consistent... consistently eating your RAM
I upgraded to 64GB RAM - not for ML, just so each Electron app can run its own private Chromium microservice
Electron: the stack where 'hello world' is 200 MB RSS and every window is a microservice shipping its own Chromium
Electron: embedding a browser per app since why optimize when you can just spec more RAM and call it 'cross-platform'?