-3

Will anything that's written in c/c++ be rerwritten in rust?

for maintainance, even for performance?

2
  • 5
    I have a C program running on a vending machine that has been unchanged for 30 years and is running without issue, and the chip will continue to be available for decades more. What benefits would rewriting it give me? Commented Mar 26, 2023 at 3:25
  • An old but still-relevant blog on rewriting code: joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i Commented Mar 27, 2023 at 5:28

1 Answer 1

3

Anything? Sure. I mean, there's literally 50 years of legacy code out there, something will almost certainly be ported.

Everything? No way in hell. I mean, there's literally 50 years of legacy code out there - it can't be.

1
  • There's fortran code still in the common math libraries that C uses. Will that ever be rewritten? Only if someone thinks they can optimize it better... otherwise, we'll still have fortran and c and everything else when rust is the primary language.
    – user10489
    Commented Mar 26, 2023 at 14:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.