Hacker News new | past | comments | ask | show | jobs | submit login

While under-researched statements aren't good, personal attacks don't help either. Prefer to educate instead.

C structs have packing, alignment, and endianness gotchas that can be portably addressed with byte-level de/ser.

Example: https://gist.github.com/cd089675a6088b0b8482c005a0e3897a




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: