r/learnrust • • 2d ago

[ Removed by moderator ]

[removed] — view removed post

9 Upvotes

3 comments sorted by

1

u/Discordbothost 1d ago

Doing it on an STM32F3 is a fun way to make day 1 harder than day 25. heapless is worth grabbing early for fixed-capacity Vec/String since you won't have an allocator, and probe-rs plus defmt beats trying to println your way through it on bare metal.

1

u/teddie_moto 1d ago

Yeah I've done it a few times now and it's always a challenge to remember the flow and extra things you need around.

When I first started I was challenging myself to not use growable collections at all - I quickly gave in on that one.

Go look at some old code and ask "why on earth would I do that? That's stupid". Then discover why!