|[ << ]||[ < ]||[ Up ]||[ > ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
10.3 A Virtual Machine for Guile
Guile has both an interpreter and a compiler. To a user, the difference is transparent—interpreted and compiled procedures can call each other as they please.
The difference is that the compiler creates and interprets bytecode for a custom virtual machine, instead of interpreting the S-expressions directly. Loading and running compiled code is faster than loading and running source code.
The virtual machine that does the bytecode interpretation is a part of Guile itself. This section describes the nature of Guile’s virtual machine.
|10.3.1 Why a VM?|
|10.3.2 VM Concepts|
|10.3.3 Stack Layout|
|10.3.4 Variables and the VM|
|10.3.5 Compiled Procedures are VM Programs|
|10.3.6 Instruction Set|
This document was generated on February 3, 2012 using texi2html 5.0.