Most implementations of the Pascal programming language employed a p-code system to achieve a greater level of machine independence.
... or C++ code down into a subset of JavaScript called ASM.js. ...
... systems. That might help you if the company goes bust. It also can't be helped by code ...