In writing fastnbt, I
struggled to find an in depth explanation of how to write a
deserializer with serde. I want to explore how serde works using
cargo
expand.
... (more…)
Read more »
What Are Bitfields? The C programming language is a product of a time where it was important to use as few resoures as possible. Memory was measured in kilobytes rather than gigabytes as we do today. Bitfields offer a handy way to reduce memory usage. How... (more…)
Read more »
In this article we'll explore the difference between String and str in Rust and when to use which. (more…)
Read more »
Welcome to my collection of resources for those learning the
Rust programming language. The advice in
these pages is typically suitable for those with at least a beginning
familiarity of Rust -- for example, those who have worked through
The Book -- but ... (more…)
Read more »
Rust is a kick-ass language. Many developers hate Rust because of borrowing and responsibility rules, I get it. However, these rules that ... (more…)
Read more »