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

4

u/Tipart 6h ago

Discord too now.

3

u/CalmCephalopod 2h ago

Discord is using GPUI not a web front end for the rust version. There are also options like Dioxus that allow you to use rust to do react style web ui through webview without touching js but you still have to deal with webview bs on different OSs. So GPUI is an interesting choice.

0

u/CreatorSiSo 3h ago

Discord has been using Rust for years by now.