Piccolo is an interpreter for the Lua language that is written in Rust with a focus on safe sandboxing and resiliency. The author discusses the history of Piccolo and its unique 'stackless' design, which allows for easier cancellation and pre-emptive concurrency. They also explore the challenges of implementing Rust coroutines into GC-Arena and Piccolo, and the core idea of systems programming languages. The goal for Piccolo is to create a version of Lua that can fit into any program and has minimal assumptions. The author also expresses a preference for Lua over other systems programming languages in certain cases.

43m read timeFrom kyju.org
Post cover image
Table of contents
History of piccoloA "Stackless" Interpreter DesignBenefits of StacklessThe "Big Lie"Rust Coroutines, Lua Coroutines, and SnarfingZooming Out

Sort: