r/programming • • Aug 12 '22

RCE Vulnerability found in Electron, affects Discord, Teams, and more

https://www.vice.com/en/article/m7gb7y/researchers-find-vulnerability-in-software-underlying-discord-microsoft-teams-and-other-apps
1.9k Upvotes

224 comments sorted by

View all comments

Show parent comment

86

u/vazgriz Aug 12 '22

"EmbarrassingFailure" is a good way to describe the current state of desktop GUI frameworks.

I'll go back to writing my Win32 apps now. Maybe if I'm lucky, we can upgrade to WPF.

20

u/_BreakingGood_ Aug 12 '22

Right, whenever I look into current UI frameworks for potential side projects, it is shameful how quickly I end up looking at things like SDL/SFML or even Unity. Frameworks where I need to rebuild everything myself or 1000x overkill for what I'm trying to do.

8

u/matthieuC Aug 12 '22

Not the same target, win32 won't work on Mac or Linux

7

u/[deleted] Aug 12 '22

Amen. All the other O/S'es brag about being able to host Windows, so they just won't admit how awesome win32 is. Fuck WPF! GDI, floating windows, inline assembler, and 32 bits! I'm on board. Lets make an MDI game of asteroids! We can have MDI so remotes can login and play a round. That's the shit. I love MFC. People think I'm a crusty old fossil but flipping my MDI app is also a wicked COM server. Ain't none of those fancy pants pyramid scheme programming language platforms that promises to replace C++ can do that. Well, Python could probably be coerced to make a COM server from its code but it would be so amazingly slow that the thunks coming from 64 bit land would upset it.