Whoever worked on system programming know that data alignment is very important to save memory space, or avoid runtime crashes casting from a specific type to another. After some months on porting games to console systems, I noticed how data alignment could be, sometimes, a source of errors and a lack of knowledge. I wanted to discuss about data alignment in this technical article. Note: This is the technical stack I used for this article: