4 ms·
Is there a programming languages where functions have inverses? How about a computer architecture where every instruction has an inverse, and therefore all fun
by sigil 15y ago
Is there a programming languages where functions have inverses?
How about a computer architecture where every instruction has an inverse, and therefore all functions and even programs are invertible? (Quantum computing, for example.)
http://en.wikipedia.org/wiki/Reversible_computing http://en.wikipedia.org/wiki/Reversible_computing
- andrewflnr 15y agoInteresting. I'm sure you could do a VM where all the opcodes are reversible. Definining inverses of functions as inverses of opcodes and other functions would then be feasible. Might make a cool project.