r/computerscience • u/nardstorm • Aug 03 '25
What is a computer?
My friend and I got into an argument after he said that calculators are computers. I said that they are not, and that a machine is a computer if and only if it can solve problems at least as hard as the recursively enumerable problems (thereby excluding DFA’s, PDA’s, LBA’s, and…calculators). I can’t find a strict definition online. Give me your thoughts.
0
Upvotes
View all comments
Show parent comment
1
u/CodenCamp Aug 03 '25
You are mixing up hardware capability (microprocessor) with device functionality (the calculator). Yes, many calculators use general purpose microprocessors or microcontrollers under the hood but they’re locked into a single function by their firmware in rom .
That makes the whole device a special purpose computer, even if the chip could be repurposed in theory. It’s like saying: “A microwave has a general purpose motor in it. So it’s a general purpose appliance.”
Or like saying: “ A TV remote is a gaming console because it has a CPU.”
A general purpose microprocessor running fixed rom firmware doesnt make the whole device general purpose.