TECS/Rust-OE: Optimizing Exclusive Control in Rust-based Component Systems for Embedded Devices

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yoshimura, Nao, Oyama, Hiroshi, Azumi, Takuya
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908618921607168
author Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
author_facet Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
contents The diversification of functionalities and the development of the IoT are making embedded systems larger and more complex in structure. Ensuring system reliability, especially in terms of security, necessitates selecting an appropriate programming language. As part of existing research, TECS/Rust has been proposed as a framework that combines Rust and component-based development (CBD) to enable scalable system design and enhanced reliability. This framework represents system structures using static mutable variables, but excessive exclusive controls applied to ensure thread safety have led to performance degradation. This paper proposes TECS/Rust-OE, a memory-safe CBD framework utilizing call flows to address these limitations. The proposed Rust code leverages real-time OS exclusive control mechanisms, optimizing performance without compromising reusability. Rust code is automatically generated based on component descriptions. Evaluations demonstrate reduced overhead due to optimized exclusion control and high reusability of the generated code.
format Preprint
id arxiv_https___arxiv_org_abs_2510_25242
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TECS/Rust-OE: Optimizing Exclusive Control in Rust-based Component Systems for Embedded Devices
Yoshimura, Nao
Oyama, Hiroshi
Azumi, Takuya
Software Engineering
C.3; D.2
The diversification of functionalities and the development of the IoT are making embedded systems larger and more complex in structure. Ensuring system reliability, especially in terms of security, necessitates selecting an appropriate programming language. As part of existing research, TECS/Rust has been proposed as a framework that combines Rust and component-based development (CBD) to enable scalable system design and enhanced reliability. This framework represents system structures using static mutable variables, but excessive exclusive controls applied to ensure thread safety have led to performance degradation. This paper proposes TECS/Rust-OE, a memory-safe CBD framework utilizing call flows to address these limitations. The proposed Rust code leverages real-time OS exclusive control mechanisms, optimizing performance without compromising reusability. Rust code is automatically generated based on component descriptions. Evaluations demonstrate reduced overhead due to optimized exclusion control and high reusability of the generated code.
title TECS/Rust-OE: Optimizing Exclusive Control in Rust-based Component Systems for Embedded Devices
topic Software Engineering
C.3; D.2
url https://arxiv.org/abs/2510.25242