3 ms·
I tried to compile and run some C code from 1991 using a modern C compiler: https://github.com/sshine/dikumud/commits/master/ https://github.com/sshine/dikumud
by sshine 5mo ago
I tried to compile and run some C code from 1991 using a modern C compiler:
https://github.com/sshine/dikumud/commits/master/ https://github.com/sshine/dikumud/commits/master/
It wasn't plug-and-play.
My guess is that when Rust code gets 30 years old, the problem would more likely be that you can't find an already compiled compiler that will work for that old code, and that the compilers themselves need bootstrapping. So you'll just fast-forward the code to work on a new compiler instead.
- IshKebab 5mo ago> you can't find an already compiled compiler that will work for that old code If it's pure Rust code then the latest Rust compiler will almost certainly work. The issue will be if some of the crates wrap C code... but that kind of proves the point.