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

> You shouldn't rely on them for packing memory at all if you want to talk to other programs.

While the layout is indeed implementation dependent, pragmatically if you stick to using ints the layouts are portable as far as I can tell. Just like the size of ints is implementation dependent, but is reliably 32 bits on 32 and 64 bit machines.




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

Search: