嵌入式Rust操作系统和框架的概述
Thibaut Vandervelden1, Ruben De Smet2, Diana Deac2,3
1Department of Engineering Technology (INDI), Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium.
Sensors (Basel, Switzerland)
|September 14, 2024
概括
Rust提供了内存安全的嵌入式操作系统 (OS) 作为C的安全替代方案.本研究概述和比较基于功能和性能的传感器节点的Rust OS.
科学领域:
- 计算机科学 计算机科学
- 软件工程 软件工程 软件工程
背景情况:
- 嵌入式操作系统 (OS) 主要是在C语言中开发的.
- C的优点包括性能,低内存足迹和硬件-软件映射.
- 然而,C很容易受到安全漏洞的影响,例如使用后免费和缓冲区溢出.
研究的目的:
- 为嵌入式应用提供现有的基于Rust的操作系统和框架的概述.
- 根据它们的功能和性能指标来比较这些Rust操作系统.
- 评估Rust作为嵌入式操作系统开发中C的更安全的替代方案.
主要方法:
- 对现有的Rust操作系统和传感器节点框架的文献综述.
- 功能比较分析,包括应用程序隔离,调度,进程间通信和网络.
- 性能基准测试侧重于内存使用和执行周期.
主要成果:
- 确定了几个针对传感器节点的Rust操作系统和框架.
- 对比显示了不同Rust操作系统在功能实现和性能上的差异.
- 罗斯特的内存安全保证在编译时解决了常见的C漏洞.
结论:
- 为嵌入式操作系统开发提供了可行且安全的替代方案,减轻了常见的C相关安全风险.
- 选择Rust OS取决于特定的应用程序对功能和性能的要求.
- 进一步的研究可以探索对资源受限制的嵌入式系统优化Rust OS性能.
更多相关视频
相关概念视频
Corrosion of Reinforcement
166
The corrosion of steel reinforcement within concrete is a process influenced by the material's inherent properties and external factors. The high pH level of around 13, provided by calcium hydroxide present in concrete, initially protects the steel reinforcement by promoting the formation of a passive iron oxide layer on its surface.
However, over time and under certain conditions like carbonation, chloride ingress, and cracking this protective state can be compromised. Steel has areas with...
However, over time and under certain conditions like carbonation, chloride ingress, and cracking this protective state can be compromised. Steel has areas with...
166
Cyclic Processes And Isolated Systems
2.7K
A thermodynamic system with zero heat exchange and work is an isolated system. For these systems, the internal energy remains constant.
In the case of a non-isolated system, the change in the internal energy is zero only if the process is cyclic. A thermodynamic process is considered cyclic if the system undergoes a series of changes and returns to its initial state.
Consider a cyclic process that returns to its initial state, undergoing a four-step process. The heat transfer along each...
In the case of a non-isolated system, the change in the internal energy is zero only if the process is cyclic. A thermodynamic process is considered cyclic if the system undergoes a series of changes and returns to its initial state.
Consider a cyclic process that returns to its initial state, undergoing a four-step process. The heat transfer along each...
2.7K
Control Systems: Applications
582
Electrical engineering plays a pivotal role in our daily lives, with control systems at the heart of many applications, from home appliances to sophisticated space shuttles. Control systems manage and regulate the behavior of devices and processes, ensuring they function safely, correctly, and efficiently.
In modern vehicles, control systems manage various functions to enhance performance and safety. The steering wheel and accelerator are primary inputs in a car's control system. The...
In modern vehicles, control systems manage various functions to enhance performance and safety. The steering wheel and accelerator are primary inputs in a car's control system. The...
582
Corrosion
23.9K
The degradation of metals due to natural electrochemical processes is known as corrosion. Rust formation on iron, tarnishing of silver, and the blue-green patina that develops on copper are examples of corrosion. Corrosion involves the oxidation of metals. Sometimes it is protective, such as the oxidation of copper or aluminum, wherein a protective layer of metal oxide or its derivatives forms on the surface, protecting the underlying metal from further oxidation. In other cases, corrosion is...
23.9K
Control Systems
1.1K
Control systems are everywhere in contemporary society, influencing diverse applications from aerospace to automated manufacturing. These systems can be found naturally within biological processes, such as blood sugar regulation and heart rate adjustment in response to stress, as well as in man-made systems like elevators and automated vehicles. A control system is essentially a network of subsystems and processes that collaboratively convert specific inputs into desired outputs.
At the heart...
At the heart...
1.1K
Electro-mechanical Systems
928
Electromechanical systems are intricate configurations that effectively combine electrical and mechanical elements to achieve a desired outcome. Central to many of these systems is the DC motor, a device that converts electrical energy into mechanical motion, enabling various applications ranging from simple fans to complex robotic mechanisms.
A key component of the DC motor is the armature, a rotating circuit positioned within a magnetic field. As an electric current passes through the...
A key component of the DC motor is the armature, a rotating circuit positioned within a magnetic field. As an electric current passes through the...
928


