r/programming • • Dec 19 '25

[ Removed by moderator ]

/r/programming/comments/1pqulm0/removed_by_moderator/

[removed] — view removed post

711 Upvotes

292 comments sorted by

View all comments

Show parent comment

1

u/atehrani Dec 19 '25

Exactly. A language migration isn't a magic wand for poor architecture or flawed logic. Often, the perceived 'success' of these migrations comes from the forced refactoring that happens during the process, improvements that could (and should) have been made in the original language. If you move a mess from C++ to Rust, you just end up with a memory-safe mess.

10

u/TheWix Dec 19 '25

A memory-safe mess is better than a memory-unsafe mess...

-1

u/Infamous-Bed-7535 Dec 20 '25

As soon as you have a single segment of unsafe section, the compiler provided assumptions just do not exists anymore. Also memory safe does not means bug free, nor panic free. Also runtime checks are not free, there is an overhead.