Starting this series, I am going to maintain notes about some techniques that everyone should keep in mind when developing some cool piece of software.
Sizes are an important topic to discuss, because at the end of the day while creating some arbitrary data structure you are going to be in trouble if dealing with FFIs or foreign interfaces. What I have done here is to preassign few data types that I use frequently.
Bitfields are mysterious when it comes to Rust language and people don't know the right way to approach them. The 101 series of this journal is to present things that I find everyone should know about that particular language. So, let's start with our favorite Rust ❤️.