Languages/libraries evolve and bitrot is a fact of life, yes.
Now you have me thinking about how to plan that long! You would need an architecture easy to port and good documentation...
Or become so important that old platforms are maintained for your sake!