How to Learn Rust in 2024
blog.jetbrains.com
How to Learn Rust in 2024
1–8 of 8 posts
Re: How to Learn Rust in 2024
#2Re: How to Learn Rust in 2024
#3Does anyone have some good learning resources for embedded systems, particularly in Rust? I was hoping the article would have elaborated more on that front.
There are TONS of tutorials that basically are "lets bring in this magical crate for this hardware I happen to have, and this is how you use it to blink a LED".
I want to know how you do really low level stuff in Rust, like setting the initial stack and interrupt vectors, instead of using a crate someone else wrote.
Re: How to Learn Rust in 2024
#4Does anyone have some good learning resources for embedded systems, particularly in Rust? I was hoping the article would have elaborated more on that front.
I'm interested in this too. There are TONS of tutorials that basically are "lets bring in this magical crate for this hardware I happen to have, and this is how you use it to blink a LED". I want to know how you do really low level stuff in Rust, like setting the initial stack and interrupt vectors, instead of using a crate someone else wrote.
Re: How to Learn Rust in 2024
#5Does anyone have some good learning resources for embedded systems, particularly in Rust? I was hoping the article would have elaborated more on that front.
Re: How to Learn Rust in 2024
#6Does anyone have some good learning resources for embedded systems, particularly in Rust? I was hoping the article would have elaborated more on that front.
I'm interested in this too. There are TONS of tutorials that basically are "lets bring in this magical crate for this hardware I happen to have, and this is how you use it to blink a LED". I want to know how you do really low level stuff in Rust, like setting the initial stack and interrupt vectors, instead of using a crate someone else wrote.
Learn to use obvious "entrypoints" first which are cmdline help, manpages, and official web documentation instead of searching the web first. Those TONS of tutorials about embedded rust are uninformative at best and actively harmful at worst.
If you plan to use Cortex M based microcontrollers then there is rtic.rs async framework / RTOS. It could teach even 95% C programmers how hopelessly underused/misused NVIC in those core usually are.
Then if you need drivers with bells and whistles there is another async framework / RTOS called embassy-rs but you can combine those drivers and subsystems with rtic.rs async engine.
EDIT: Don't imagine async engine on MCU as some costly abstraction. It's zero cost abstraction for embassy-rs when compared to traditional RTOSes and negative cost for rtic.rs since traditional RTOSes does not use dedicated hardware machinery for scheduling which is present in Cortex M cores.
Re: How to Learn Rust in 2024
#7Does anyone have some good learning resources for embedded systems, particularly in Rust? I was hoping the article would have elaborated more on that front.