VideoLibrary

Intro to Embedded Rust - Part 1: What is Rust? | DigiKey

Rust is a modern systems programming language designed for both safety and speed. In this first episode, we explore what makes Rust unique, why it’s gaining traction across industries, and why it’s a promising option for embedded systems. From its origins as a side project in 2006 to its growth into a foundation-backed language used by companies like Microsoft, AWS, and Raspberry Pi, Rust’s history helps explain why so many developers are paying attention today. The written guide for this episode can be found here: https://www.digikey.com/en/maker/projects/intro-to-embedded-rust-part-1-what-is-rust/3ca21d868187415b94b0ff07a271dde6 The GitHub repository containing the Docker image and example code for this series can be found here: https://github.com/ShawnHymel/introduction-to-embedded-rust Unlike older languages that rely on either manual memory management (C, C++) or garbage collection (Java, Python), Rust introduces a third approach: the ownership model. This model enforces memory safety at compile time, helping to eliminate entire classes of bugs while still giving developers low-level control. Combined with features like zero-cost abstractions, predictable performance, direct hardware access, and even inline assembly support, Rust strikes a powerful balance between expressiveness and efficiency. Of course, Rust isn’t without its challenges and limitations. The learning curve can be steep, compile times are longer than C, and the embedded ecosystem is still maturing with limited vendor support. Real-time operating systems in Rust are still emerging, and some libraries are community-driven rather than industry-backed. That said, with growing adoption, expanding hardware support, and strong community contributions, Rust is becoming an increasingly popular choice for embedded projects. In this episode, we’ll set up a pre-configured Docker environment and walk through building a simple “Hello, world!” application in Rust. This provides the foundation for the rest of the series, where we’ll explore embedded programming on the Raspberry Pi Pico 2, cover Rust fundamentals like ownership and traits, and eventually move into advanced topics like interrupts, debugging, and asynchronous frameworks.

1/20/2026 4:46:12 PM

Part List

ImageManufacturer Part NumberDescriptionAvailable QuantityPriceView Details
RASPBERRY PI PICO 2 RP2350SC1631RASPBERRY PI PICO 2 RP235025972 - Immediate$19.70View Details
RASPBERRY PI PICO 2 W RP2350SC1633RASPBERRY PI PICO 2 W RP23505965 - Immediate$27.58View Details
RASPBERRY PI PICO 2 H RP2350SC1632RASPBERRY PI PICO 2 H RP23502754 - Immediate$23.64View Details
RES 220 OHM 5% 1/4W AXIALCF14JT220RRES 220 OHM 5% 1/4W AXIAL109327 - Immediate
30000 - Factory Stock
$0.39View Details
LED RED CLEAR T-1 3/4 T/HLTL-4224LED RED CLEAR T-1 3/4 T/H72430 - Immediate$0.55View Details
USB AM TO USB MICRO, USB 2.0 - 1DH-20M50055USB AM TO USB MICRO, USB 2.0 - 110945 - Immediate$6.11View Details
JUMPER WIRE M TO M 6" 28AWG1957JUMPER WIRE M TO M 6" 28AWG3614 - Immediate$7.68View Details
BREADBRD TERM STRIP 3.20X2.00"FIT0096BREADBRD TERM STRIP 3.20X2.00"3458 - Immediate$11.43View Details
SWITCH TACTILE SPST-NO 0.05A 24V1825910-6SWITCH TACTILE SPST-NO 0.05A 24V42605 - Immediate$0.51View Details
TMP102 DIGITAL TEMP SENSOR BOARD13314TMP102 DIGITAL TEMP SENSOR BOARD248 - Immediate$23.44View Details
RASPBERRY PI PICO 2 WH RP2350SC1634RASPBERRY PI PICO 2 WH RP23502210 - Immediate$31.52View Details