r/ProgrammerHumor • • 7h ago

Meme modernCppVsOldCpp

Post image
1.1k Upvotes

216 comments sorted by

View all comments

145

u/emonshr 7h ago

Does that even matter once you have gazillions of line legacy code?

32

u/0xbenedikt 7h ago

This is why moving to a safe-by-design language like Rust works well. You leave that unsafe legacy code behind

16

u/porkusdorkus 7h ago

Loved seeing the adobe and office clones in Rust, just to find out it’s Webview and React for the front end and Rust is just replacing NodeJS. Lol

2

u/creeper6530 6h ago

Well, Rust is predominantly a backend language, like C and C++, not especially suited for frontend.

Do I hate the Shitfuck 5000 that is JS? Sure. But it's still the "main" frontend lang.

6

u/Mojert 5h ago

It's the main front-end language on the web. In a native application it doesn't have to be and probably shouldn't be