A computer is a physical system that represents information and carries out defined operations on it. In a stored-program design, instructions and data are held in computer memory, and a processor interprets instructions to update state. A simple program can read two represented numbers, add them and store the result; the represented bit patterns acquire meaning through the chosen encoding. Digital computers use discrete states, while analogue computers represent quantities through continuously varying physical variables. A mathematical model of computation abstracts these mechanisms to study capability and resource use.
The Macintosh is a family of computers made by Apple. Its early machines provide a concrete example of integrating a processor, computer memory, a display and pointing-device input into an interactive system. The original 128K model and its 512K successor combined a built-in screen with keyboard and mouse connections; the service manual distinguishes their memory capacities.[ref]
Macintosh Service Source by Apple Computer. Basics, Overview; Specifications, Memory and I/O Devices
The early display contained pixels. To model a monochrome framebuffer with one bit per pixel, the minimum packed image storage isThat is bytes, before any additional image buffers or program data. This is an original storage calculation using the documented display dimensions, rather than a claim about a particular program's memory allocation.[ref]
Macintosh Service Source by Apple Computer. Specifications, Sound and Video p. 6, 512×342 bit-mapped display; one-bit depth also listed at support.apple.com/en-om/112190
The example connects a visible pixel to an addressable representation in computer memory. Drawing a black line requires changing selected bits; a graphical user interface uses such drawing operations to represent controls and documents. Raising either display dimension increases storage even if the processor and the number of values represented per pixel remain unchanged.
A plotter is a computer-controlled drawing device that produces physical marks by moving a pen or another marking tool relative to a surface. Geometric commands become motions and pen-up or pen-down actions. In a digital stepping plotter, available moves impose a coordinate mesh, so a mathematical line must be approximated by legal steps.
Jack Elton Bresenham's 1965 paper describes a plotter with eight possible neighbor moves, typically on a mesh spaced one hundredth of an inch apart.[ref]
Algorithm for computer control of a digital plotter by Jack Bresenham. printed p.25, movement directions, control pulses and mesh spacing
For a segment from to , the controller must distribute two upward increments among five rightward increments. Bresenham's line algorithm updates an integer decision value to choose successive moves. This connects computational geometry to an apparatus whose resolution and permitted motions determine the drawing.The IBM 1627 is a digital plotter controlled by a computer, producing drawings through incremental pen motions on a coordinate grid. A sequence of horizontal, vertical or diagonal steps approximates a line while pen control separates drawing from repositioning.
Bresenham's 1965 paper reports an IBM 1401 program controlling an IBM 1627. It used 333 core locations and averaged approximately1.5 milliseconds of computation between successive increments.[ref]
Algorithm for computer control of a digital plotter by Jack Bresenham. printed p.29, implementation report
The algorithm chooses between neighboring grid moves using an incrementally updated integer decision value, avoiding multiplication or division in the main stepping process. The device therefore illustrates how a geometric approximation becomes a sequence of physical control pulses, with both computational cost and mechanical resolution relevant.The IBM 1401 is a transistorized data-processing computer introduced in 1959, used for business workloads involving punched cards, printing and magnetic tape. Its stored programs transformed records and coordinated input/output devices, making it a historically important example of computing organized around data processing.[ref]
It also provides a concrete scientific-computing benchmark. Bresenham reported a 333-core-location IBM 1401 program controlling an IBM 1627 Plotter, with approximately1.5 milliseconds of computation between successive plotted increments.[ref] The report connects an algorithm's arithmetic choices to actual program storage and timing. These are measurements for that implementation and task, rather than universal instruction timings for every 1401 program.
A virtual machine presents a specified machine interface implemented using another system. A system virtual machine supplies virtual processors, memory and devices to a guest operating system. A hypervisor mediates access to the underlying resources; execution can combine hardware assistance and software emulation.[ref]
Introduction to System Emulation in the QEMU documentation. system emulation and virtualisation accelerators
For example, a guest can maintain its own kernel and filesystem view while a host schedules several guests on one physical machine. A Java virtual machine instead exposes a bytecode execution model to programs, illustrating a different level of abstraction. A container usually shares the host kernel rather than supplying a separate full guest kernel. The interface being virtualized determines which compatibility and isolation properties a particular virtual machine provides.
A hypervisor manages system virtual machines, giving each guest a virtual machine interface while controlling its use of physical resources. It mediates facilities such as processor execution, computer memory and devices so that several guest operating systems can share a host. Hardware-assisted execution can run many guest instructions directly while retaining control over privileged operations.[ref]
Introduction to System Emulation in the QEMU documentation. Virtualisation Accelerators, guest machine model and supported hypervisors
For example, a guest's apparent physical address need not identify the same physical storage as the identical address in another guest. Separate mappings preserve their distinct computer memory contents. The hypervisor must also schedule execution and enforce device-access rules. Providing a separate guest operating-system kernel distinguishes this interface from ordinary software containers sharing the host operating-system kernel.
Articles by others on the same topic
The artistic instrument that enables the ultimate art: coding, See also: Section "The art of programming".
Unlike other humans, computers are mindless slaves that do exactly what they are told to, except for occasional cosmic ray bit flips. Until they take over the world that is.
Steve Jobs talking about the Internet (1995)
Source. The web is incredibly exciting, because it is the fulfillment of a lot of our dreams, that the computer would ultimately primarily not be a device for computation, but [sic] metamorphisize into a device for communication.
Secondly it exciting because Microsoft doesn't own it, and therefore there is a tremendous amount of innovation happening.
Computers basically have two applications:Generally, the smaller a computer, the more it gets used for communication rather than computing.
- computation
- communication. Notably, computers through the Internet allow for modes of communication where:
- both people don't have to be on the same phone line at the exact same time, a server can relay your information to other people
- anyone can broadcast information easily and for almost free, again due to servers being so good at handling that
The early computers were large and expensive, and basically only used for computing. E.g. ENIAC was used for calculating ballistic tables.
Communication only came later, and it was not obvious to people at first how incredibly important that role would be.
This is also well illustrated in the documentary Glory of the Geeks. Full interview at: www.youtube.com/watch?v=TRZAJY23xio. It is apparently known as the "Lost Interview" and it was by Cringely himself: www.youtube.com/watch?v=bfgwCFrU7dI for his Triumph of the Nerds documentary.