8/10/2010

08-10-10 - HeapAllocAligned

How the fuck is there no HeapAllocAligned on Win32 ?

and yes I know I can use clib or do it myself or whatever, but still, WTF ?

1 comment:

Arseny Kapoulkine said...

I feel your pain. Just had to do this a week ago. And I couldn't use _aligned_malloc family because they're MSVC specific, and I wanted CRT-independent code (so WinAPI or malloc).

Generally the vast majority of allocators do not support the custom alignment, which is sad.

old rants