Difference between revisions of "Computer"

From Computer History Wiki
Jump to: navigation, search
m (External links: Fixed typo)
m (grammar)
Line 3: Line 3:
 
The meaning of 'computer' is generally now 'stored-program computing device' - i.e. the [[program]] (which, it must be emphasized, is a specified series of elementary steps) is stored in the device in some form, in a way that the user can relatively easily change to make it perform some other computation; '''programmability''' is not simply the ability to make physical changes to the device to change what calculation it performs - even if those changes are instantiated in something that was added to the device for that exact purpose, like the [[plug-board]]s of the [[ENIAC]].
 
The meaning of 'computer' is generally now 'stored-program computing device' - i.e. the [[program]] (which, it must be emphasized, is a specified series of elementary steps) is stored in the device in some form, in a way that the user can relatively easily change to make it perform some other computation; '''programmability''' is not simply the ability to make physical changes to the device to change what calculation it performs - even if those changes are instantiated in something that was added to the device for that exact purpose, like the [[plug-board]]s of the [[ENIAC]].
  
An open question is whether the program must be stored in [[memory]] that the computer can modify, allowing the program to change its own program if it desires. This has historically been seen as part of what makes a 'computer', both because [[Turing machine]]s (the theoretical foundation of computers) had that capability, and because the first [[electronic]] computers generally could do that too; they used the same memory to hold the program and data.
+
An open question is whether the program must be stored in [[memory]] that the computer can modify, allowing the program to change itself if it desires. This has historically been seen as part of what makes a 'computer', both because [[Turing machine]]s (the theoretical foundation of computers) had that capability, and because the first [[electronic]] computers generally could do that too; they used the same memory to hold the program and data.
  
 
Whether or not the ability to modify its own program is important, for something to be classified as a 'computer', can be debated; modern computers almost always run [[pure code]] (in part because [[self-modifying code]] can be difficult to understand and [[debug]]), so it is probably not critical; indeed, [[embedded system]]s usually use [[read-only memory|ROM]] for their program storage. On the other hand, program modifiability is a key aspect of classical Turing machines; but it might be possible for a machine running out of ROM to [[emulator|emulate]] a Turing machine, thereby making such a machine a Turing machine (since it can provide a Turing machine). It is also possible that having the ability to do [[conditional branch]]es could be an alternative to being able to modify the program, for [[Turing complete]]ness.
 
Whether or not the ability to modify its own program is important, for something to be classified as a 'computer', can be debated; modern computers almost always run [[pure code]] (in part because [[self-modifying code]] can be difficult to understand and [[debug]]), so it is probably not critical; indeed, [[embedded system]]s usually use [[read-only memory|ROM]] for their program storage. On the other hand, program modifiability is a key aspect of classical Turing machines; but it might be possible for a machine running out of ROM to [[emulator|emulate]] a Turing machine, thereby making such a machine a Turing machine (since it can provide a Turing machine). It is also possible that having the ability to do [[conditional branch]]es could be an alternative to being able to modify the program, for [[Turing complete]]ness.

Revision as of 03:19, 10 December 2023

A computer is unfortunately not defined in a way that is both generally agreed, and precise. (Which leads to ferocious debates about what was the first 'computer' - because, as Michael Williams observed, "If you add enough adjectives to a description you can always claim [a particular machine to be the 'first'].")

The meaning of 'computer' is generally now 'stored-program computing device' - i.e. the program (which, it must be emphasized, is a specified series of elementary steps) is stored in the device in some form, in a way that the user can relatively easily change to make it perform some other computation; programmability is not simply the ability to make physical changes to the device to change what calculation it performs - even if those changes are instantiated in something that was added to the device for that exact purpose, like the plug-boards of the ENIAC.

An open question is whether the program must be stored in memory that the computer can modify, allowing the program to change itself if it desires. This has historically been seen as part of what makes a 'computer', both because Turing machines (the theoretical foundation of computers) had that capability, and because the first electronic computers generally could do that too; they used the same memory to hold the program and data.

Whether or not the ability to modify its own program is important, for something to be classified as a 'computer', can be debated; modern computers almost always run pure code (in part because self-modifying code can be difficult to understand and debug), so it is probably not critical; indeed, embedded systems usually use ROM for their program storage. On the other hand, program modifiability is a key aspect of classical Turing machines; but it might be possible for a machine running out of ROM to emulate a Turing machine, thereby making such a machine a Turing machine (since it can provide a Turing machine). It is also possible that having the ability to do conditional branches could be an alternative to being able to modify the program, for Turing completeness.

See also

Further reading

External links