TECS/Rust: Memory-safe Component Framework for Embedded Systems
Nao Yoshimura, Hiroshi Oyama, and Takuya Azumi

TL;DR
This paper introduces TECS/Rust, a Rust-based component framework for embedded systems that ensures memory safety, automates code generation, and maintains real-time performance, addressing vulnerabilities inherent in traditional C-based CBD.
Contribution
It presents a novel Rust framework for TECS that enhances memory safety in embedded component development while preserving flexibility and efficiency.
Findings
Generated code constitutes a large portion of total system code.
Overhead of the framework is minimal, with negligible impact on execution time.
Framework successfully enforces memory safety without sacrificing performance.
Abstract
As embedded systems grow in complexity and scale due to increased functional diversity, component-based development (CBD) emerges as a solution to streamline their architecture and enhance functionality reuse. CBD typically utilizes the C programming language for its direct hardware access and low-level operations, despite its susceptibility to memory-related issues. To address these concerns, this paper proposes TECS/Rust, a Rust-based framework specifically designed for TECS, which is a component framework for embedded systems. It leverages Rust's compile-time memory-safe features, such as lifetime and borrowing, to mitigate memory vulnerabilities common with C. The proposed framework not only ensures memory safety but also maintains the flexibility of CBD, automates Rust code generation for CBD components, and supports efficient integration with real-time operating systems. An…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
