Olivia Ifrim ๐Ÿฆ€ (@oliviff) header
Olivia Ifrim ๐Ÿฆ€ (@oliviff) profile picture

๐Ÿ‘ฉโ€๐Ÿ’ป staff eng ๐Ÿฆ€ tweet a lot about rust and rust gamedev โœ๏ธ wrote https://xitter.cf/t.co/DolyQjGkcZ Follow me on bsky https://xitter.cf/t.co/WVWUCaiRM2

London, England
Joined March 2010
Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)Photo by Olivia Ifrim ๐Ÿฆ€ (@oliviff)
If you want to learn how to make a game in #rustlang check out my book, it's finally out! It will teach you how to make a Sokoban copy while explaining some rust and gamedev concepts on the way! ๐Ÿฆ€ ๐Ÿ‘พ ๐Ÿ“™ ๐Ÿ‘‰ sokoban.iolivia.me/ Also, like, retweet, share w friends!
13
227
15
626
๐Ÿ“… This Month in #RustLang #GameDev #37 for August 2022 is finally out, sorry for the delay gamedev.rs/news/037
1
7
1
20
Olivia Ifrim ๐Ÿฆ€ retweeted
"Zero To Production In Rust" is complete ๐Ÿฆ€ It is a start-to-finish guide for building APIs using @rustlang. A mix of pragmatic advice and foundational concepts. @zero2prod is the book I wished I had when I started. Two years in the making - it feels surreal to be *done*.
66
381
46
2,236
๐Ÿฆ€ Short intro to Rust Embedded Development - Part 2 ๐Ÿงต ๐Ÿ‘‡ I'll be using an STM32F407G-DISC1 microcontroller (Cortex M4) and two main crates: cortex-m and stm32f4. The goal is to write a simple Rust program that plays with the LEDs and button of the board. Let's do it! ๐Ÿš€
3
30
2
153
Now finally, let's make the pattern play continuously, but change when we press the button. Here is what the code looks like, it's pretty simple, we keep an index of the current pattern, and increment it when button is pressed (don't forget to wrap otherwise we go out of bounds).
1
1
And finally, here is what the board looks like, pretty cool! ๐ŸŽ‰ ๐Ÿš€ I hope you enjoyed this second thread on embedded systems with @rustlang showing a little more Rusty abstractions with the patterns and working with buttons.
2
5
๐Ÿฆ€ Short intro to Rust Embedded Development ๐Ÿงต๐Ÿ‘‡ I'll be using: * STM32F407G-DISC1 microcontroller (Cortex M4) * cortex-m crate crates.io/crates/cortex-m * stm32f4 crate crates.io/crates/stm32f4 The goal is to write a simple Rust program that enables some LEDs. Let's do it! ๐Ÿš€
4
75
5
449
And then we use it like so. The end result is the same since we haven't made any functional changes, so all LEDs should blink just like they were before.
1
5
Hope you enjoyed it, this was a very short intro to Rust embedded development! ๐Ÿฆ€๐ŸŽ‰๐Ÿš€๐Ÿงจ
4
29