4 ms·
If new CPU makers are expected to update all existing compilers, wouldn't the counterpoint be that new compiler writers are expected to support all existing CPU
by tedunangst 6y ago
If new CPU makers are expected to update all existing compilers, wouldn't the counterpoint be that new compiler writers are expected to support all existing CPUs?
- PurpleFoxy 6y agoIMO it depends who stands to gain from it. If you make a new compiler, you need to make sure x86 and ARM work because that’s what most of your users will be using. There is almost no gain in adding support to some ancient cpu that no one uses anymore. On the other side, if you make a new cpu architecture, all of your users (people buying the chip) will gain from porting compilers. No one is expected to do anything (unless they are being paid). It’s just logical for people to work this way.
- wmf 6y agoSure, but that wouldn't have helped in this case since 68K, Alpha, PA-RISC, and S/390 were not "existing" CPUs at the time Rust was invented.