this post was submitted on 28 Dec 2023
1461 points (99.3% liked)
Programmer Humor
19522 readers
138 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
VS code is an electron app, there are a few others that have a simple enough purpose that they shouldn't be using a whole dedicated chrome engine to function.
Vs code is an exemplary app and supports what I'm saying. As far as others...what's the right amount of complexity for using electron? Imo the maintenance advantages alone almost justify using it. It's not appropriate for every app but slack and vs code are pretty stellar examples of how well it can work.
VS code is a good app in spite of using electron, not because of it. There's no reason a simple plaintext editor needs to allocate 300MB of ram even without extensions just to launch, and there is definitely no reason a plaintext editor should require compiling chromium to build from source.
Slack is fine, but only when you exclusively use slack. Throw in an actual browser, discord, VS Code, Whatsapp, teams (?), etc. each with their own chromium instance and now your 16GB of ram are being eaten up at idle.
I mean yeah it's a little heavy. Same trade off everyone makes every time they load a web app of any kind.
I run a lot of those apps concurrently and I don't have issues with not having enough ram.