Menu

1 / 2

Why cross-platform desktop apps balloon to 200MB and how to slim them down

DEV Community·Alan West·6 months ago
#XyKM3Xqg
#webdev#desktop#native#webview#window
Reading 0:00
15s threshold

The 200MB "Hello World"

I shipped my first cross-platform desktop app back in 2018. Markdown editor. Three buttons, a text area, syntax highlighting. The final installer was 187MB.

Every time I open Activity Monitor during dev work, I see a handful of Electron-based apps each parked at 300MB. That's well over a gigabyte of RAM for tools I'm not even actively using. A chat client, a code editor, a git GUI, a note-taker. The math finally caught up with me last month, and I started digging into what it would actually take to ship a desktop app that doesn't melt your laptop.

This post is about the root cause of that bloat and the path I've been walking to fix it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.