Enhancing Software Safety Through Programming Languages: A Study of Rust

Ensuring software safety has become a paramount concern in modern software development, with the choice of programming language playing a crucial role.This paper investigates the role of Rust, a systems programming language, in enhancing software safety, with a specific focus on embedded development and microcontrollers in the context of developing a modern fire alarm system.Through a combination of literature review, evaluation of safety standards, three discussion meetings with software engineers, and practical experimentation, we explore the unique features of Rust that contribute to safer software development practices.The study includes an in-depth analysis of Rust's ownership model and concurrency mechanisms, comparing them with traditional languages like C and C++.Furthermore, we conduct interviews with software engineers to gather insights into their experiences with Rust, particularly its adoption challenges, benefits, and implications for transitioning from C++ and Python to Rust.Additionally, we present a practical experiment involving code development in Rust, specifically tailored to a modern fire alarm system, to demonstrate its effectiveness in ensuring safety and reliability in critical embedded applications.The findings of this study provide valuable insights into the role of programming languages, particularly Rust, in advancing software safety.They also offer practical guidance for software developers aiming to leverage safer alternatives in their projects, especially in the specialized domain of embedded systems and microcontroller-based safety-critical applications.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.3850/978-981-94-3281-3_esrel-sra-e2025-p7174-cd
Primary Topic
Software Reliability and Analysis Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Software Safety Through Programming Languages: A Study of Rust

Christian Askeland, Thor Myklebust, Espen Helle
Software Reliability and Analysis Research
article

Enhancing Software Safety Through Programming Languages: A Study of Rust

Christian Askeland, Thor Myklebust, Espen Helle
article en

Abstract

Ensuring software safety has become a paramount concern in modern software development, with the choice of programming language playing a crucial role.This paper investigates the role of Rust, a systems programming language, in enhancing software safety, with a specific focus on embedded development and microcontrollers in the context of developing a modern fire alarm system.Through a combination of literature review, evaluation of safety standards, three discussion meetings with software engineers, and practical experimentation, we explore the unique features of Rust that contribute to safer software development practices.The study includes an in-depth analysis of Rust's ownership model and concurrency mechanisms, comparing them with traditional languages like C and C++.Furthermore, we conduct interviews with software engineers to gather insights into their experiences with Rust, particularly its adoption challenges, benefits, and implications for transitioning from C++ and Python to Rust.Additionally, we present a practical experiment involving code development in Rust, specifically tailored to a modern fire alarm system, to demonstrate its effectiveness in ensuring safety and reliability in critical embedded applications.The findings of this study provide valuable insights into the role of programming languages, particularly Rust, in advancing software safety.They also offer practical guidance for software developers aiming to leverage safer alternatives in their projects, especially in the specialized domain of embedded systems and microcontroller-based safety-critical applications.

Norges Forskningsråd
Openalex Percentile: Top 70%
Software Reliability and Analysis Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.