MacOS X memory alignment

I had a hard time finding a definitive statement on MacOS X memory alignment so I did my own tests. On 10.4/intel, both stack and heap memory is 16 byte aligned. So people porting software can stop looking for memalign() and posix_memalign(). It’s not needed.

Apr 03 2007 12:00 pm | Programming | 1 Comment »

One Response to “MacOS X memory alignment”

  1. on 12 Oct 2008 at 9:36 pm OSX lacks memalign - Stack Overflow

    Kramer auto Pingback[...] Mac OS X appears to be 16-byte mem aligned. [...]

Leave a Reply