2 ms·
> Other examples of tech stacks that are very stable are C, C++, and Fortran. On the scale of a few years, yes. Assuming you don't depend on external libraries
by vidarh 13y ago
> Other examples of tech stacks that are very stable are C, C++, and Fortran.
On the scale of a few years, yes. Assuming you don't depend on external libraries at all.
But I've worked on recompiling more than enough C code in the 15-20 year range or older that contained sufficient assumptions - some valid then, some that just happened to work then - that are no longer valid on most common architectures.
If you care about recomputability for <5 years, you can probably get away with "just" shipping a bundle with the code and any library dependencies. If you care about anything more than that, you're on shaky ground very quickly.
On the other hand, we have javascript emulators for a bunch of 30+ year old architectures. As it happens, it is becoming increasingly clear that targeting hardware stacks is far more stable than trying to re-assemble a software stack.