This is the third part of Rust mini-series. This post is about Traits and Generics. (more…)
Read more »
Concurrent programs suffer from data races. To prevent data races,
programmers use locks. However, programs can eliminate data races only when
they acquire and release correct locks at correct timing. The lock API of C, in
which people have developed a la... (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 »