↑ ↓ Navigate Enter Open Esc Close
Skip to main content
TinyComputers.io
  • Archive
  • Tags
  • Articles
  • About Me
  • ★ Best Of
  • ⚙ Projects
Loading weather...
    🛒 SHOP: Loading prices... 🛒 SHOP: Loading prices...
    📈 STOCKS: Loading prices... 📈 STOCKS: Loading prices...
    📚 FROM THE ARCHIVES: Loading posts... 📚 FROM THE ARCHIVES: Loading posts...
     Silver: --- ·  Gold: --- ·  Copper: --- ·  Iron Ore: --- ·  Hot-Rolled Coil Steel: --- ·  Uranium: --- ·  WTI Oil: --- ·  Coal: --- ·

    TinyComputers.io

    Latest Programming Languages, Language Design

    A Stack-Based Bytecode VM for Lattice: 100 Opcodes, Serialization, and a Self-Hosted Compiler

    2026-02-20  · 16 min read

    A deep dive into the Lattice bytecode VM — a stack-based virtual machine with 100 opcodes, computed goto dispatch, pre-compiled concurrency sub-chunks, an ephemeral bump arena for string temporaries, a binary .latc serialization format, and a self-hosted compiler written in Lattice itself. Covers the instruction set architecture, upvalue-based closures, how structured concurrency compiles without AST dependency, and validation across 815 tests under AddressSanitizer.

    Sponsors

    PCBWay
    Proud Sponsor
    PCBWay
    Professional PCB manufacturing and assembly. Bringing our hardware projects from design files to reality.
    Learn More →
    View All Articles →

    Contents © 2026 A.C. Jokela - Creative Commons Attribution-ShareAlike |  Terms of Service | Copyright | Affiliates and Supporters | Privacy Policy

    Recommended Reading
    Cookie Notice

    We use cookies to analyze site traffic and improve your experience. By clicking "Accept", you consent to our use of cookies. See our Privacy Policy for details.

    Before you go...

    Get occasional updates about retro computing, embedded systems, and hardware hacking. No spam, unsubscribe anytime.

    We respect your privacy. See our Privacy Policy.