I’m wondering what would be a ‘concise’ definition of computable? I ask because I have become confused over what is computable or not.
Is something only computable if it comes to a halt? For instance
function foo(){
while(true);
}
Is not computable, simply because it never comes to a halt? Or am I confusing the definition of computable with the halting problem?
Thanks
Something is formally computable if, given the capabilities of a certain (often purely theoretical) computer, you can show that there is an algorithm which will solve that problem in finite time.
So computability is a property of the computer and the problem, not of a piece of code.
Two of the interesting results of studying computability: