Город МОСКОВСКИЙ
00:12:26

Don't Worry, C and Rust Can FINALLY Coexist (Here's How) | Embedded Rust and C on the RP2040 Pi Pico

Аватар
Low Level Learning
Просмотры:
5
Дата загрузки:
20.09.2024 16:33
Длительность:
00:12:26
Категория:
Лайфстайл

Описание

FINALLY! Embedded C and Rust can coexist. For the longest time, there had been the great war of Rust vs C. In this video, I teach you how to create a Rust Crate and write C code for the Raspberry Pi Pico RP2040 that allows you to use both in an embedded environment. By creating a static archive library and linking it against your C code, you can compile Rust with your C for them to both run in the same runtime.

Low Level Merch!: https://www.linktr.ee/lowlevellearning

Follow me on Twitter: https://twitter.com/lowlevellearni1
Follow me on Twitch: https://twitch.tv/lowlevellearning
Join me on Discord!: https://discord.gg/gZhRXDdBYY

Follow along with me!: https://github.com/lowlevellearning/rp2040-blink

0:00 Introduction
1:17 Rust Library Crate
5:47 Linking Rust + C
7:43 Adding C to Rust

Теги: rust programming,embedded rust,rust and c embedded,rust memory safety,rust hello world,arduino,maker,craft,hobby,electronics,wires,temperature,safety,project,board,electric,leds,led,thonny,python,micropython,os,ide,onewire,ds18b20,circuitpython,review,launch,measure,probe,rp2040,specs,specifications,how to,guide,programming,Pico emulation,retro games raspberry pi pico,etaprime,eta prime,raspberry pi pico,arm cortex m0+,low cost

Рекомендуемые видео