▲ 786 ▼ Web 2.0, and its consequences... (media.kbin.social) submitted 3 years ago by ZILtoid1991@kbin.social to c/programmerhumor@lemmy.ml 80 comments fedilink hide all child comments
[–] Totendax@feddit.de 30 points 3 years ago (4 children) Oh I love electron permalink fedilink source parent hideshow 4 child comments replies: [–] scarilog@lemmy.world 8 points 3 years ago 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 fedilink source parent [–] roi@lemmy.blahaj.zone 5 points 3 years ago Shhhh, don’t tell anyone permalink fedilink source parent [–] gabe@literature.cafe 3 points 3 years ago (1 child) Oh no, I love electron. That's not a dig on it, it's just very much a resource hog. permalink fedilink source parent hideshow 1 child comment replies: [–] theterrasque@infosec.pub 3 points 3 years 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. permalink fedilink source parent
[–] scarilog@lemmy.world 8 points 3 years ago 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 fedilink source parent
[–] roi@lemmy.blahaj.zone 5 points 3 years ago Shhhh, don’t tell anyone permalink fedilink source parent
[–] gabe@literature.cafe 3 points 3 years ago (1 child) Oh no, I love electron. That's not a dig on it, it's just very much a resource hog. permalink fedilink source parent hideshow 1 child comment replies: [–] theterrasque@infosec.pub 3 points 3 years 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. permalink fedilink source parent
[–] theterrasque@infosec.pub 3 points 3 years 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. permalink fedilink source parent