An abstract machine, citation needed], is a theoretical computer used for defining a model of computation. Abstraction of computing processes is used in both the computer science and computer engineering disciplines and usually assumes a discrete time paradigm.[
A typical abstract machine consists of a definition in terms of input, output, and the set of allowable operations used to turn the former into the latter. The best-known example is the Turing machine.[verification needed]
More complex definitions create abstract machines with full instruction sets, registers and models of memory. One popular model more similar to real modern machines is the RAM model, which allows random access to indexed memory locations. As the performance difference between different levels of cache memory grows, cache-sensitive models such as the external-memory model and cache-oblivious model are growing in importance.
An abstract machine can also refer to a microprocessor design which has yet to be (or is not intended to be) implemented as hardware. An abstract machine implemented as a software simulation, or for which an interpreter exists, is called a virtual machine.
In the theory of computation, abstract machines are often used in thought experiments regarding computability or to analyze the complexity of algorithms. This application of abstract machines is related to the subject of computational complexity theory.
Abstract machines can also be used to model abstract data types, which can be specified in terms of their operational semantics on an abstract machine. For example, a stack can be specified in terms of operations on an abstract machine with an array of memory. Through the use of abstract machines, it is possible to compute the amount of resources (time, memory, etc.) necessary to perform a particular operation without having to construct a physical system.[clarification needed]
In philosophy, Deleuze and Guattari describe abstract machine as a diagram[verification needed] and describe an abstract machine as similar to a refrain, as a machine that desires, as a sex generating its own sexuality, and as resistant to representation.[verification needed][clarification needed]