by thaumasiotes · 8y ago · 0 comments
What do you believe the difference is? To me, software and algorithms are the same thing.
Algorithms exist outside of software.
Algorithms are formulas or functions for solving a problem.
Software is usually the implementation of one or more algorithms on a computer.
(1) All computable programs can be expressed as a Universal Turing machine.
(2) There are countably many Universal Turing machines
(3) In an abstract sense, we can thus assign a unique identifier to each possible computer program. I can tell you "run program 383439343" and that will tell you everything you need to run that function.
Most of these programs are of course not correct in the sense that they produce a useful output, or even necessarily terminate. But then, most numbers aren't useful either, it's only because of the emergent properties of our mathematical rules that something like a "prime number" even has a conceptual meaning, and it's only because of our contextual needs that, say, sorting an array would be a useful output.
Distinguishing between algorithms and software is a distinction without a difference. If the two implementations produce a different output, then by definition they must be following a different algorithm. And if they are the same algorithm, then they can be reduced to the same Universal Turing machine.
https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Wel...