3 ms·
I've been thinking about that last question. The closest I can imagine to a solution would be coding programs to run within stripped-down environments, the spe
by Semiapies 12y ago
I've been thinking about that last question. The closest I can imagine to a solution would be coding programs to run within stripped-down environments, the specifications for which would be included with the program. The system running the program would read that spec, generate a version of that environment (as a container/vm/whatever), and then start the program within it.
- angersock 12y agoSo, to offer a slightly stronger version of your requirements, we're needing to ship: 1. The program itself. 2. The behavioral specs for the program. 3. The behavioral specs for the runtime environment. 4. The configuration specs for the runtime environment. Somewhat hidden in there is the ability to read an aribitrary program, transmute it to another program. That can be hard--especially with a language like C++, where significant computation can occur during compilation.
- kuschku 12y agoSoo, we’d use a lisp? With lisp macros setting up everything?
- Semiapies 12y ago"Somewhat hidden in there is the ability to read an aribitrary program, transmute it to another program." There'd probably be cases where it'd fall short of that capability, but ultimately, if the desire is to make sure you can run an arbitrary current program on an arbitrary future computer, you probably have to get pretty close to that.