Rust is an alternative systems programming language aiming to replace C and C++ with a safe, more modern alternative. It was developed by Mozilla for use in Firefox but is now accepted also into the Linux Kernel and into the Android base operating system. It has a quickly growing and enthusiastic following.
SixtyFPS (two ex-trolls) aims to provide a UI framework for the Rust ecosystem. |
Rust
|
What is Rust?Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++, but can guarantee memory safety by using a borrow checker to validate references. Rust achieves memory safety without garbage collection, and reference counting is optional. (source wikipedia @2021)
While the syntax is very similar to C and C++, it's exceptionally efficient on memory management and safety as well as is performant on embedded platforms, perfect for mission-critical systems. Coming from systems programming languages, Rust has superior advantage over C or C++ that it can provide "borrow checker" the part of the compiler responsible for ensuring that references do not outlive the data they refer to, and it helps eliminate entire classes of bugs caused by memory unsafety, Thanks to its benefits, Rust has been accepted to Linux Kernel as well as Android. With various benefits to bring to developers, it has been chosen many times as the most loved programming language for the last five years in a row. In 2021, Rust foundation was established by 5 founding members, namely Amazon Web Services, Huawei, Google, Microsoft and Mozilla.
|
What can we do?tQCS's partner, KDAB, has expanded its expertise over Rust with some of key engineers from the Rust-in-Embedded backgrounds. KDAB sponsors the RustCon conference in Italy and publishes and presents on the topic. KDAB's Hotspot profiling tool supports software written in Rust. KDAB also collaborates with SixtyFPS.
Benefits of Rust: The promise of Rust is to allow for safer, more robust systems level development, saving time on code production and maintenance as well as on dealing with security faults and risks at a similar performance to C/C++. It not likely that Rust will replace C/C++ in the near future, but the fact that it's now part of Linux Kernel and the intrinsic benefit on system engineering will make its use case much wider on embedded linux. In efforts to support the research and development efforts of our customers, tQCS-KDAB will provide a flexible workshop and/or professional consultancy service to evaluate technical applicability and to produce a Proof-of-Concept, including
Ask us on what we can offer for your smooth transition to Rust. |