784
you are viewing a single comment's thread
view the rest of the comments
[-] gabe@literature.cafe 3 points 1 year ago

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

[-] theterrasque@infosec.pub 3 points 1 year ago* (last edited 1 year ago)

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.

this post was submitted on 12 Aug 2023
784 points (96.4% liked)

Programmer Humor

32707 readers
621 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS