Ziglet v0.1.0 - Initial Release
I am excited to announce the first public release of Ziglet, a minimalist, high-performance virtual machine written in Zig. This release lays the foundation for a lightweight, secure, and extensible VM that is both easy to understand and highly performant.
Overview
Ziglet v0.1.0 implements a robust core with essential VM capabilities:
• A register-based architecture featuring 16 general-purpose registers
• A managed memory space of 64KB with safe bounds checking
• A stack-based execution model with built-in error handling
• A comprehensive instruction set covering arithmetic, control flow, memory operations, and stack manipulation
• Debugging support including instruction tracing, execution statistics, hot path detection, and instruction caching for basic performance insights
New Features
-
Core Architecture & Execution
- 16 general-purpose registers for computation
- A 64KB dedicated memory region with allocation and deallocation managed by the VM
- A program counter (PC) driven execution loop that processes a sequence of instructions