Embedded Systems
14.3K subscribers
1.09K photos
236 videos
1 file
749 links
News, articles, guides, analytics, projects and startups from the embedded industry.

Topics of the channel:
◽️ machine learning
◽️ internet of things
◽️ embedded software
◽️ advanced electronics
◽️ new engineering ideas

⤵️ Share and subscribe!
Download Telegram
👍2
💻 Why Rust is a great fit for embedded software?

Compared to C, Rust is a relatively new language, which has its pros and cons. Like C, Rust can target low-level devices. However, Rust does a lot of things differently from C. Let's start with the things Rust has to offer.

More information...

#programming #software #rust #articles
📄 Rust Language Cheat Sheet

Useful resource providing all the necessary information for Rust programming. The resource frequently updates and can be downloaded as a single .pdf document for offline programming.

More information...

#programming #software #rust
📡 Building a CubeSat from the scratch

A CubeSat (U-class spacecraft) is a type of miniaturized satellite for space research

An interesting series of videos explaining how CubeSat could be built from hardware to software (written in Rust) in just under 1000$.

More information:
Video part 1
Video part 2
Video part 3
Video part 4

Github for hardware
Github for software

#projects #electronics #rust
💻 3 Reasons to Use Rust in Embedded Systems

▫️ Rust is a memory-safe language
All Rust variables, by default, are immutable unless declared otherwise. There is also a concept of memory ownership. Memory safety helps developers identify critical bugs before they find their way into our production code by making us aware of them as soon as we create them!

▫️ Dependency management
Rust has a built-in package manager called Cargo that downloads package dependencies, compiles packages, distributes packages, and, if open-sourced, even upload them to crates.io. Cargo helps developers ensure that they are using the write packages and that even if new versions are available, they won’t be upgraded until they are ready to upgrade.

▫️ Modern and powerful
Rust compiles its code with nearly the efficiency of a C compiler. If you compare execution times, the differences are negligible. Rust can interact with low-level hardware efficiently and more safely than C/C++.

#articles #rust #programming
👍9👎5
💻 From C++ to Rust: Comparison from Embedded Software Engineer

In this captivating article, an experienced embedded software engineer delves into a comprehensive comparison between C++ and Rust programming languages, providing invaluable insights for those seeking to embrace the new language. Through an exploration of various concepts and implementation details, the author reveals their delightful discoveries during months of investigating Rust.

For software developers seeking a more streamlined and secure programming experience, this article serves as an enticing invitation to explore Rust as a worthy alternative to C++. By highlighting the key differentiators and benefits, the author paves the way for an engaging journey towards unlocking the full potential of Rust's capabilities.

More information...

#articles #programming #rust
👍5👌1
🦀 Embedded Rust: where are we today?

The Rust is a perspective programming language that steadily gains its popularity but not in embedded systems. Despite the benefits that the Rust brings (such as memory safety), not many companies are using it yet. Instead, they tend to stick to C or C++, because they've already invested a lot of money on writing firmware in this languages and are hesitant to change.

Startups are more interested in Rust because they don't have any old systems to worry about, but bigger companies are taking their time to see if Rust is worth it. Learning Rust can be tough, and not many companies are offering support for it. However, as the need for safer languages grows, especially with the rise of IoT, Rust might become more popular in the future. Its role in embedded systems remains uncertain for now, but it could change over time.

⛓ More information...

#articles #programming #rust
Please open Telegram to view this post
VIEW IN TELEGRAM
👍24👌5
🦠 CrowdStrike Update Highlights the Need for Safer Programming Languages

A global IT outage affecting 8.5 million Windows devices was caused by a faulty update from CrowdStrike, leading to significant disruptions. The issue stemmed from a null pointer bug in the C++ code of the update, which triggered widespread system crashes. Specifically, the program attempted to access memory at an invalid address ("0x000000000000009c"), resulting in a cascade of failures across various critical services and platforms.

Many experts argue that if the update had been written in 🦀 Rust, the compiler would have caught the null pointer bug before deployment, avoiding the widespread disruptions and ensuring safer software deployment practices.

⛓ More information...

#news #crowdstrike #rust #programming #security
Please open Telegram to view this post
VIEW IN TELEGRAM
👎13👍6👌2