C / C++ memory layout and optimization, problem with type punning, loading and saving.
I have some data as static class members. I use `__attribute__((__packed__))` for some classes and structs. I use type punning to convert between types that I believe have the same memory layout, but different signatures (members of different transla...