Virtualization

Virtualization#

Virtualization is the technique of implementing a Nock interpreter in Nock itself. Not only does this facilitate making practical systems entirely out of Nock (because crashes do not halt the system), it also allows Nock to be extended in powerful ways. For instance, a virtualized Nock interpreter can implement new opcodes that are not part of the core Nock specification.

(In fact, the Urbit and NockApp runtimes both implement the virtualized +mock interpreter instead of vanilla Nock 4K, and treat the Nock ISA itself as a special case of the virtualized system.)