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:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tsonfeir@lemm.ee 43 points 2 years ago (26 children)

You hate electron or you hate developers who make inefficient electron apps? Some examples? (Serious question, because I make electron apps)

[–] I_like_cats@lemmy.one 97 points 2 years ago (14 children)

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.

[–] masterspace@lemmy.ca 20 points 2 years ago (8 children)

The literal most popular IDE amongst software developers is VS Code that's built on Electron.

[–] ExLisper@linux.community 10 points 2 years ago (1 children)

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.

[–] navigatron@beehaw.org 1 points 2 years ago (1 children)

lite-xl with LSP gives you most of the features of vscode (they’re both lsp) at a tiny percentage of the system resources

[–] ExLisper@linux.community 2 points 2 years ago

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.

load more comments (6 replies)
load more comments (11 replies)
load more comments (22 replies)