Chalmers University of Technology
Modern C++ and Rust in embedded memory-constrained systems
Abstract
dc:description.abstractLow level languages like C and traditional C++ have been used extensively in embedded systems for a long time due to the critical advantages such as low runtime overhead and good memory management, despite their memory safety issues. In an attempt to overcome the safety issues, many high level languages have been introduced recently, albeit with a high execution time overhead. This thesis mainly focuses on Modern C++ and Rust, which is a multi-paradigm language introduced for memory safety and improved performance. We make a comparison study on using these two high level languages in a memory-constrained embedded system. The comparison is made by running both the languages in resource intensive applications, such as artificial engine sound generation and Quicksort of large arrays on a single hardware platform. The performance analysis focuses on the parameters: execution time, memory usage and development time, which develops a conclusion as to why high level languages can be used in memory constrained embedded systems and which language performs better in this case.
Degree
thesis:*- Level thesis:degree_level
- H
- Department dc:contributor.department
- Chalmers tekniska högskola / Institutionen för data och informationsteknik
- Year dc:date.issued
- 2022
Author and committee
dc:creator, dc:contributor.*- Authors dc:creator
-
- Balakrishnan, Ashwin Kumar
- Nattanmai Ganesh, Gaurav
- Advisor dc:contributor.supervisor
-
- Svensson, Lars
- Committee member dc:contributor.committeemember
-
- Larsson Edefors, Per
Rights
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/20.500.12380/304450