||This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (January 2013)|
Bare machine (or bare metal), in computer parlance, means a computer without its operating system. Modern operating systems evolved through various stages, from elementary to the present day complex, highly sensitive real-time systems. In the very first stage of computing there was nothing like an operating system at all. Programs were fed to the computer system directly using machine language by the programmers without any system software support. This approach is termed the "bare machine" approach in the development of operating systems.
The PDP-11 machine allowed programmers to feed a program, written in machine code, to RAM directly using front panel switches. The resulting execution of the loaded program could be observed using lights mounted on the front cover. The approach was tiresome and not very user friendly, as one would have to load the entire program in machine code each time one wanted to execute the program.
Although the bare machine approach failed, it paved the way for new ideas that pushed the process of OS evolution to its next stage. Bare machine approach brought out a need for the following:
- Input/output (I/O) devices to enter both code and data conveniently and output the result of execution in a user friendly manner
- Secondary storage devices to store the program to non-volatile memory
- Requirement for a convenient high-level language and a translator for such a high-level language to the corresponding machine code
- Linkers to link library modules, which may be written by the user or already available in the system
- Loaders to load the executables to the primary memory from the secondary storage
- Suitable I/O devices like printers for producing a hard-copy of the output generated by the program
- A. Silberschatz, Peter Galvin, and Greg GAGNE. Operating System Concepts.