In computer science, the runtime system is software that provides services for a running program but is itself not considered to be part of the operating system.[citation needed]
Examples include:
* the code that is generated by the compiler to manage the runtime stack.
* library code for handling memory management (for example, malloc).
* code that handles dynamic loading and linking.
* debugger code that is generated at compile time or run time.
* application-level thread management code.
Byte-code interpreters and virtual machines can also be considered runtime systems. Services that run in concurrent processes are more likely to be considered middleware.
Examples include:
* the code that is generated by the compiler to manage the runtime stack.
* library code for handling memory management (for example, malloc).
* code that handles dynamic loading and linking.
* debugger code that is generated at compile time or run time.
* application-level thread management code.
Byte-code interpreters and virtual machines can also be considered runtime systems. Services that run in concurrent processes are more likely to be considered middleware.