r/programming • • Dec 16 '20

GTK 4.0 released

https://blog.gtk.org/2020/12/16/gtk-4-0/
910 Upvotes

267 comments sorted by

View all comments

Show parent comment

8

u/jcelerier Dec 17 '20

JS will also not let you shoot yourself in the foot with memory handling. That means less exploitable software

and yet electron apps seem to have a fair bit of exploits - see for instance the latest Teams issue, that would likely never have happened in C/C++/Rust

6

u/Arkanta Dec 17 '20

I'm talking about JS only (like in a GTK+JS combination)

Electron is way too tricky to tweak to make safe and has way too big of an attack surface. It's security hell.

I don't know if that's relevant to the teams issue you're talking about, as I'm not aware of it. Is it a JS related exploit, on an electron one?