Saved in:
Bibliographic Details
Main Authors: Yoshimura, Nao, Oyama, Hiroshi, Azumi, Takuya
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.25270
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918177745666048
author Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
author_facet Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
contents 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 evaluation of the amount of generated code indicates that the code generated by this paper framework accounts for a large percentage of the actual code. Compared to code developed without the proposed framework, the difference in execution time is minimal, indicating that the overhead introduced by the proposed framework is negligible.
format Preprint
id arxiv_https___arxiv_org_abs_2510_25270
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TECS/Rust: Memory-safe Component Framework for Embedded Systems
Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
Software Engineering
C.3; D.2
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 evaluation of the amount of generated code indicates that the code generated by this paper framework accounts for a large percentage of the actual code. Compared to code developed without the proposed framework, the difference in execution time is minimal, indicating that the overhead introduced by the proposed framework is negligible.
title TECS/Rust: Memory-safe Component Framework for Embedded Systems
topic Software Engineering
C.3; D.2
url https://arxiv.org/abs/2510.25270