bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module 'aligned-malloc'


From: Paul Eggert
Subject: Re: new module 'aligned-malloc'
Date: Wed, 22 Jul 2020 20:07:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/22/20 3:55 PM, Bruno Haible wrote:

Of course this performance issue is mostly just for MS-Windows, as other major
current platforms already have aligned_alloc or rough equivalent.

No, it's not only Windows. It's
   - macOS
   - Minix
   - native Windows

macOS has had posix_memalign since Mac OS X 10.6 (2009) - at least, that's what's in Apple's documentation <https://opensource.apple.com/source/Libc/Libc-583/gen/posix_memalign.3.auto.html>. We needn't worry about older OS releases, as Apple doesn't support them.

Minix is moribund (its last release was 2014) and is no longer a significant porting target.

So the only significant issue for aligned_alloc is performance on native Windows. And my guess is that we can make it perform well-enough there, for many applications (including your application I think).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]