Mizu: A Lightweight Multi-Threaded Threaded-Code Interpreter that Can Run Almost Anywhere with a C++ Compiler

We present Mizu, a threaded-code interpreter for an assembly-like language designed to be embedded inside compilers. Mizu has three primary goals: to be lightweight, portable, and extensible. We explore Mizu’s lightweight core instruction set, along with several of its extensions and some of our methods for further extension, and the platforms it has been ported to. Additionally, we demonstrate how two highlevel features-threading and foreign function interfaces-can be spelled at the level of an assembly language. Finally, we compare Mizu to several other popular interpreted languages and find that it’s performance sits comfortably between JIT interpreters (approximately 4 times slower on a CPU straining task) and regular interpreters (approximately 8.5 times faster on the same task) all with only fourty-six core instructions.

Authors

Institutions

Publication Details

Published
2025-05-29
DOI
https://doi.org/10.1109/sera65747.2025.11154512
Primary Topic
Fuzzy Logic and Control Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mizu: A Lightweight Multi-Threaded Threaded-Code Interpreter that Can Run Almost Anywhere with a C++ Compiler

Joshua Dahl, J. S. Harris, Quinn Contaldi, Kiana Partovi
Fuzzy Logic and Control Systems
article

Mizu: A Lightweight Multi-Threaded Threaded-Code Interpreter that Can Run Almost Anywhere with a C++ Compiler

Joshua Dahl, J. S. Harris, Quinn Contaldi, Kiana Partovi
article en

Abstract

We present Mizu, a threaded-code interpreter for an assembly-like language designed to be embedded inside compilers. Mizu has three primary goals: to be lightweight, portable, and extensible. We explore Mizu’s lightweight core instruction set, along with several of its extensions and some of our methods for further extension, and the platforms it has been ported to. Additionally, we demonstrate how two highlevel features-threading and foreign function interfaces-can be spelled at the level of an assembly language. Finally, we compare Mizu to several other popular interpreted languages and find that it’s performance sits comfortably between JIT interpreters (approximately 4 times slower on a CPU straining task) and regular interpreters (approximately 8.5 times faster on the same task) all with only fourty-six core instructions.

University of Nevada, Reno (US)
Openalex Percentile: Top 87%
Fuzzy Logic and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.