Research indexJournal article
A Rust Framework for Real-Time Parallel Programming
Silva, Carvalho, Pinho
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)1 Jan 2026Open access
NobleIDark:/48914/w1/20261105/1A9D1246DOI10.4230/oasics.aeic.2026.5
A Rust Framework for Real-Time Parallel Programming
Silva, Carvalho, Pinho · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2026
NobleIDark:/48914/w1/20261105/1A9D1246DOI10.4230/oasics.aeic.2026.5
Abstract
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.