In this video, we will go over the RefCell Smart Pointer and cover Interior Mutability. This content can be found in Chapter 15 Section 5 of "The Rust Programming Language" book. ... https://www.youtube.com/watch?v=nWENYq8X6gI
We are going to explore the pros and cons of using the State Design Pattern (See Part 1 for implementation). Then, we will write the same code using features that are native to Rust and compare the implementations (Ch 17 Section 3 of "The Rust Programming" Book).
...
https://www.youtube.com/watch?v=zN-sovfqrV4
A Rust video explaining how you can set environment variables in your config file.
Links:
- Cargo Documentation on Config File: https://doc.rust-lang.org/cargo/reference/config.html#configuration
- env macro documentation: https://doc.rust-lang.org/std/macro.env.html
My Social Links:
- Linkedin Learning course(s): https://www.linkedin.com/learning/instructors/marcus-willock
- Twitter: https://twitter.com/Crazcalm
...
https://www.youtube.com/watch?v=r6niPhmgxRY
Former Hacker Reviews Iconic Python/Rust Hacking Scenes From Movies & TV
Legendary Hacker Lord Nikon most known for his photographic memory and his “leet” skills takes a look at a variety of hacking scenes from popular media and examines their authenticity. The scenes under review are ones that mention Python and Rust existing in the same code base.
This parody of an expert reviewing Movie and TV depictions of their craft will highlight how to use Rust’s pyo3 crate to create Python extensions while also commenting on when it is socially acceptable to do so.
...
https://www.youtube.com/watch?v=puKy_wRcA5w
Chapter 14 of "The Rust Programming Language" Book is all about Cargo! In this video we will be going over cargo profiles.
...
https://www.youtube.com/watch?v=wg0RGLetd_I
This video goes over the basics of how to use GDB to debug your Rust code. It also demonstrates how to use GDB to explore source code you are not familiar with.
Links:
- GDB Wiki page: https://en.wikipedia.org/wiki/GNU_Debugger
- GDB Documentation: https://sourceware.org/gdb/download/onlinedocs/
- GDB Rust support doc page: https://sourceware.org/gdb/download/onlinedocs/gdb/Rust.html#Rust
- GDB Cheat sheet: https://darkdust.net/files/GDB%20Cheat%20Sheet.pdf
- ggez repo: https://github.com/ggez/ggez
- The Rust talk that introduced me to ggez: https://www.youtube.com/watch?v=str_mex__0M&list=PLahqQ0xSULbwxgrHdLpzCSUGzwRMI61mk&index=9
...
https://www.youtube.com/watch?v=8D74GaBIYI4
This video covers how to covert third party errors into your own errors. The purpose of the "?" operator is also explained. We also go over the basics of how to use/implement the From trait.
Links:
- From trait docs: https://doc.rust-lang.org/std/convert/trait.From.html
- The Edition Guide explanation of the "?" operator: https://doc.rust-lang.org/edition-guide/rust-2018/error-handling-and-panics/the-question-mark-operator-for-easier-error-handling.html
- Error Chain crate: https://crates.io/crates/error-chain
- Rust by Example -- From and Into traits: https://doc.rust-lang.org/rust-by-example/conversion/from_into.html
My social links:
- Twitter: https://twitter.com/Crazcalm
- IG: https://www.instagram.com/crazcalm.tech.stack/
...
https://www.youtube.com/watch?v=bZHUTsupSZU
We are going to walk through how to setup a Rust Arduino project:
Links:
- Arduino Wiki: https://en.wikipedia.org/wiki/Arduino
- avr-hal repo: https://github.com/Rahix/avr-hal
- avr-hal-template: https://github.com/Rahix/avr-hal-template
Bonus link:
The liquid-rust crate is the template engine used in cargo-generate and this is the link to their pest file: https://github.com/cobalt-org/liquid-rust/blob/master/crates/core/src/parser/grammar.pest
My Social Links:
- Twitter: https://twitter.com/Crazcalm
- IG: https://www.instagram.com/crazcalm.tech.stack/
...
https://www.youtube.com/watch?v=d9PxFlFFZuk