this post was submitted on 20 Feb 2021
136 points (93.0% liked)
Programmer Humor
32443 readers
805 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 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My work makes me use a VPN client that's built on electron. Eats up a lot of battery on my laptop.
Why? Just why?
Can't even imagine doing any sort of encryption from JavaScript, and how inefficient that would be.
From the code I think the client itself is written in Go and the electron part is a frontend. But I couldn't get the Go client to run without the electron frontend.
This is the page for the client in case someone wants to help get this tunning without the electron frontend: https://client.pritunl.com/
Seriously, why?! Go has UI libraries (plus Qt/GTK bindings) and you don't need something that complicated for a VPN client.
Does the frontend need to be active all the time? Then you effectively have Chrome always running while doing literally nothing most of the time, can't imagine you have to fiddle with the VPN that often.