Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The #pragma pack directive in C++ might be useful for stack allocations. http://stackoverflow.com/questions/3318410/pragma-pack-effec... For heap allocation you have _aligned_malloc() and memalign().


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

Search: