Did you know struct layout in Rust is technically undefined? The compiler can si...
Mainmatter @mainmatter@fosstodon.org
Did you know struct layout in Rust is technically undefined? The compiler can silently reorder your fields to save space, you can watch it happen on Compiler Explorer.
More in our free migration course:
https://mainmatter.com/c-to-rust-migration-book/