,
Luis Miguel Pinho
Creative Commons Attribution 4.0 International license
Real-time systems increasingly rely on parallel execution to meet performance and timing requirements. While several programming languages provide mechanisms for combining real-time and parallel programming, Rust currently lacks dedicated frameworks that address both aspects in an integrated way. In previous work, we proposed a high-level design of a framework for real-time parallel programming in Rust. In this paper, we describe the design of a prototype implementation of this framework as a Rust library. The prototype provides abstractions for creating and managing real-time threads with priorities, as well as thread pools that enable structured parallel execution while respecting priority-based scheduling. We describe the architecture of the prototype, its implementation and illustrate its use through examples. This implementation demonstrates the feasibility of supporting real-time parallel programming patterns in Rust and serves as a foundation for future extensions of the framework.
@InProceedings{silva_et_al:OASIcs.AEiC.2026.5,
author = {Silva, Hugo and Carvalho, Tiago and Pinho, Luis Miguel},
title = {{A Rust Framework for Real-Time Parallel Programming}},
booktitle = {30th Ada-Europe International Conference on Reliable Software Technologies (AEiC 2026)},
pages = {5:1--5:17},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-425-3},
ISSN = {2190-6807},
year = {2026},
volume = {143},
editor = {Filieri, Antonio and Backeman, Peter},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.AEiC.2026.5},
URN = {urn:nbn:de:0030-drops-259231},
doi = {10.4230/OASIcs.AEiC.2026.5},
annote = {Keywords: Real-time systems, Parallel programming, Rust}
}