January 28, 2020
Bitfields and Rust!
I have read an article called Bitfields Forever: Why we need a C-compatible Rust Crate by Daniel Kolsoi.
It is yet another article about C2Rust matters that has made me LEARN so much!
The article introduces us to C bitfields and Rust equivalents.
It considers existing crates and code like rust-bitfield, packed_struct, bindgen, and bitvec, and the LESSONS learned from them.
Two new crates were created, c2rust-bitfields and c2rust-bitfields-derive, to meet the C2Rust project’s needs.
I must STUDY this article and its knowledge more.