Macros as Abstractions: Simplifying Code Generation for Lingua Franca
IEEE Embedded Systems Letters · 2026 · 1-1
DOI: 10.1109/les.2026.3749442 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Embedded Systems Letters, 2026. Verfasst von Tassilo Tanneberger und 3 weiteren Autor:innen.
Abstract (Originalsprache)
—Current Cyber-Physical Systems (CPS) experience concurrency and compatibility bugs due to manual software integration. Although Lingua Franca’s ( LF ) reactor model ensures deterministic execution, which helps make CPS applications safer and more reliable, existing runtimes such as reactor-c struggle to support resource-constrained embedded devices. This paper presents reactor-uc ’s code generator and macro interface, a lightweight runtime that uses object-oriented C patterns and a macro-based interface to eliminate dynamic memory allocation and simplify code generation. Evaluation results show that reactor-uc produces one-third the code size and half the cyclomatic complexity of reactor-c, as well as smaller binaries, while maintaining comparable performance on benchmarks. These improvements significantly enhance the readability and reliability of deterministic software for microcontrollers.
Zitieren
APA
Tanneberger, T., Jellum, E. R., Castrillon, J., & Lee, E. A. (2026). Macros as Abstractions: Simplifying Code Generation for Lingua Franca. IEEE Embedded Systems Letters, 1-1. https://doi.org/10.1109/les.2026.3749442
Vancouver
Tanneberger T, Jellum ER, Castrillon J, Lee EA. Macros as Abstractions: Simplifying Code Generation for Lingua Franca. IEEE Embedded Systems Letters. 2026:1-1. doi:10.1109/les.2026.3749442
BibTeX
@article{Tanneberger2026,
author = {Tanneberger, Tassilo and Jellum, Erling R. and Castrillon, Jeronimo and Lee, Edward A.},
title = {Macros as Abstractions: Simplifying Code Generation for Lingua Franca},
journal = {IEEE Embedded Systems Letters},
year = {2026},
pages = {1--1},
doi = {10.1109/les.2026.3749442}
}
EUVIMED