this post was submitted on 12 Dec 2023
879 points (98.8% liked)
Programmer Humor
32410 readers
1 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You hate electron or you hate developers who make inefficient electron apps? Some examples? (Serious question, because I make electron apps)
There's no such thing as a efficient electron app. First electron apps have 80MB of overhead since electron needs to bundle a whole ass browser. Also in runtime this requires 120MB of ram.
If you really want to use webviews to make an app use Tauri.
The literal most popular IDE amongst software developers is VS Code that's built on Electron.
I think parsing code and all the dependencies will require way more than 120MB of RAM so for VS Code the overhead doesn't matter that much. For smaller apps 120MB of ram is insane.
lite-xl with LSP gives you most of the features of vscode (they’re both lsp) at a tiny percentage of the system resources
In my experience LSP actually consumes quite a bit of resources. I'm using nvim with LSP and it's definitely not tiny percentage of what other IDEs are using. The editor is light, LSP is not.