← Graph

Virtual Machine

concept 5 connections

Software component that executes an intermediate representation (bytecode, three-address code, etc.) rather than running directly on hardware. Enables running the same code on multiple platforms, supporting JIT compilation, garbage collection, and concurrency primitives. In Ruby, YARV is the reference VM; JRuby swaps it for the Java VM, TruffleRuby for GraalVM, etc. Ruby's Global VM Lock lives in the virtual machine.

category
architecture
about
Virtual Machine concept
Explains what a (non-VirtualBox) VM is and how it hosts intermediate representations.
Takeaway recommends reusing existing VMs (YARV, JRuby, TruffleRuby, Parrot, LLVM, .NET).
concept Virtual Machine
related_to
Bytecode concept
VMs typically execute bytecode intermediate representations.
tool JRuby
related_to
Virtual Machine concept
JRuby replaces Ruby's YARV with the Java Virtual Machine.
tool YARV
related_to
Virtual Machine concept
YARV is the canonical MRI Ruby virtual machine.

Provenance

Read by
2 extractions