| ▲ | OkayPhysicist 3 days ago | ||||||||||||||||||||||
In my experience, a language switch rewrite can be a benefit only when switching from a dead ecosystem to a living one. For example, migrating a web app from a language that predates Unicode to something that won't require a bunch of scaffolding around every user input sometimes is worth it. Moving from LABVIEW to a real programming language that integrated with remotely modern development tooling was worth it. Switching from C++ to Rust? Probably not. | |||||||||||||||||||||||
| ▲ | imtringued 2 days ago | parent | next [-] | ||||||||||||||||||||||
Your final example feels wrong. Rust provides features that are basically unmatched by the fast majority of C++ and Rust competitors. I've also been soured enough on C++ to the point where rewriting an entire ecosystem in Rust seems like less effort than to figure out how to make the decrepit C++ one work for my purposes. You spend weeks trying to install a C++ library only to realize that it is not fit for purpose and then you spend another week on the next one, until you've tried most of them and realized they are all kind of bad in one way or another. Even if they worked as advertised, you're already going far beyond the intended use cases of the existing libraries so why limit yourself by the past? | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | bmitc 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
> Moving from LABVIEW to a real programming language ... Switching from C++ to Rust? Probably not. Weird. LabVIEW is a real programming language. And both LabVIEW and Rust make entire classes of bugs that you often hit in C++ go away, especially for concurrent programs. > remotely modern development tooling I would make the argument that it is the tooling, i.e., Git and Diff, that is ancient and not remotely modern. Continually demanding that anything worth source controlling is text-based, and even further line-based, is as antiquated as it gets. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | tcfhgj 3 days ago | parent | prev [-] | ||||||||||||||||||||||
> Switching from C++ to Rust? Probably not. Counter example: | |||||||||||||||||||||||
| |||||||||||||||||||||||