A Bytecode VM for an FRP Language for Small-Scale Embedded Systems

Emfrp is a functional reactive programming (FRP) language for resource-constrained systems such as microcontrollers. The language enables the concise description of reactive behavior specific to embedded systems. The current Emfrp compiler runs on a development host PC. Therefore, the program development, testing, and modification cycle is time-consuming. We have implemented an interpreter, Emfrp-REPL, which runs on the target device and enables interactive and rapid development using the REPL interface. The interpreter is designed to minimize I/O latency and employs snapshot GC to suppress latency fluctuations. However, the execution speed could be faster because the evaluation of expressions is based on AST traversal. In this study, we design and implement Emfrp-VM, a byte code VM for Emfrp, to solve this problem.

Publication Details

Journal
Tokyo Tech Research Repository (Tokyo Institute of Technology)
Published
2024-10-11
Primary Topic
Laser Design and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Bytecode VM for an FRP Language for Small-Scale Embedded Systems

Tokyo Tech Research Repository (Tokyo Institute of Technology)
Laser Design and Applications
article

A Bytecode VM for an FRP Language for Small-Scale Embedded Systems

article en

Abstract

Emfrp is a functional reactive programming (FRP) language for resource-constrained systems such as microcontrollers. The language enables the concise description of reactive behavior specific to embedded systems. The current Emfrp compiler runs on a development host PC. Therefore, the program development, testing, and modification cycle is time-consuming. We have implemented an interpreter, Emfrp-REPL, which runs on the target device and enables interactive and rapid development using the REPL interface. The interpreter is designed to minimize I/O latency and employs snapshot GC to suppress latency fluctuations. However, the execution speed could be faster because the evaluation of expressions is based on AST traversal. In this study, we design and implement Emfrp-VM, a byte code VM for Emfrp, to solve this problem.

Tokyo Tech Research Repository (Tokyo Institute of Technology)
Openalex Percentile: Top 59%
Laser Design and Applications
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.

A Bytecode VM for an FRP Language for Small-Scale Embedded Systems · Tokyo Tech Research Repository (Tokyo Institute of Technology) (2024) | TGRS Research Map | TGRS