You are viewing a single thread.
View all comments View context
60 points

It also only takes a single gigabyte of RAM per file being edited, Isn’t that fantastic?

permalink
report
parent
reply
30 points

Oh I love electron

permalink
report
parent
reply
8 points

Man it’s not lightweight, but damn, if CSS and JS isn’t a really easy way to build cross platform UIs than other options like Qt. There’s a reason why electron is so popular.

permalink
report
parent
reply
5 points

Shhhh, don’t tell anyone

permalink
report
parent
reply
3 points

Oh no, I love electron. That’s not a dig on it, it’s just very much a resource hog.

permalink
report
parent
reply
3 points
*

It doesn’t have to be.

One of my experiments, an overlay for a game using camera position API to draw a 3d scene over the game, rendering things as if they were in the game (with some limitations) uses electron and three.js

It’s pretty fast, uses about 100-150mb ram, and works pretty well. A similar overlay using same approach but written in C and opengl take ~200+ mb and a c# one 150-250 mb. The c# one has more features overall so it’s not a complete comparison, but then my overlay can do things the other can’t too.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments