← All projects
Project record1 mention
Originally shared on Hacker News

Rust Lua interpreter with type specialization

A Lua interpreter written in Rust that runs PUC Lua 5.1 dumped bytecodes. It is being rewritten to add type specialization using lazy basic block versioning (the technique behind Shopify's YJIT for Ruby), with table shape specialization planned as a follow-up.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Rust Lua interpreter with type specialization

    A Lua interpreter written in Rust that runs PUC Lua 5.1 dumped bytecodes. It is being rewritten to add type specialization using lazy basic block versioning (the technique behind Shopify's YJIT for Ruby), with table shape specialization planned as a follow-up.

    Posted by @chc4 · Original source ↗

    Source text · @chc4 · · Source ↗

    I wrote (some) of a Lua interpreter in Rust, which runs PUC Lua 5.1 dumped bytecodes.