Engine (computer science)
An engine is a continuation-based construct that provides timed preemption. Engines which can contain other engines are sometimes called Nesters and engines which do not have this ability are then called flat engines or "solo engines". To implement timed preemption there needs to be a clock. This clock can measure real time or simulated time. Simulated time can be implemented in a language like Scheme, by making each function start with decrementing the clock. (define-syntax timed-lambda ((_ formals exp1 exp2 ...) (lambda formals (decrement-timer) exp1 exp2 ...))))
An engine is a continuation-based construct that provides timed preemption. Engines which can contain other engines are sometimes called Nesters and engines which do not have this ability are then called flat engines or "solo engines". To implement timed preemption there needs to be a clock. This clock can measure real time or simulated time. Simulated time can be implemented in a language like Scheme, by making each function start with decrementing the clock. (define-syntax timed-lambda ((_ formals exp1 exp2 ...) (lambda formals (decrement-timer) exp1 exp2 ...)))) ==References==
References
No reference rows published for this article.
Cite this article
MLA
"Engine (computer science)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/engine-computer-science. Accessed 24 November 2026.
Chicago
"Engine (computer science)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/engine-computer-science.
APA
encyclopegia.org. (2025). Engine (computer science). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/engine-computer-science
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON