this post was submitted on 22 Oct 2023
620 points (95.7% liked)

Programmer Humor

32710 readers
529 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] el_abuelo@lemmy.ml 10 points 1 year ago (1 children)

Why would you be using JS in this scenario?

[โ€“] Natanael@slrpnk.net 2 points 1 year ago* (last edited 1 year ago) (2 children)

Node.js, electron ๐Ÿคทโ€โ™‚๏ธ

[โ€“] el_abuelo@lemmy.ml 2 points 1 year ago (1 children)

Something has gone horribly wrong if you're trying to do such optimisations when you've already chosen JavaScript...let alone Electron.

[โ€“] Natanael@slrpnk.net 2 points 1 year ago (1 children)

And yet it happens, just look at the molasses that is Teams

[โ€“] el_abuelo@lemmy.ml 2 points 1 year ago

Thankfully the only interaction I have with teams is when a supplier arranges the call. Once every two weeks. It grosses me out every time...and that's the Web app.

Do you really think they have done such optimisation efforts as minimising function calls? I can't imagine it's required for what is actually a fairly simple frontend app. The complexity is the enabling stack on the backend.

[โ€“] MajorHavoc@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Good answer.

Even if it made me throw up in my mouth a little. /s

Edit: Not the concept of Electron, itself - but being asked to write highly performant code in Electron.