Phobos addition formal review: std.experimental.allocator
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 12 12:20:00 PDT 2015
On 6/12/15 11:23 AM, Baz wrote:
> On Friday, 12 June 2015 at 11:09:01 UTC, Dicebot wrote:
>> Small tip for reviewers: there are quite many modules in proposed
>> package but majority is actual allocator implementation. I'd suggest
>> to start investigating sources/documentation starting from
>> http://erdani.com/d/phobos-prerelease/std_experimental_allocator.html
>> and
>> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_building_blocks.html
>> while using
>> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_showcase.html
>> as reference for "highlight" examples.
>
> while building the package as a static lic library, i've found that
> _showcase.d_ is not usable under Windows because MmapAllocator is Posix
> only:
>
> https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/showcase.d#L66
>
> https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/mmap_allocator.d#L14
I've asked this a while ago as well - could anyone with a Windows rig
contribute a MmapAllocator for Windows? Thanks! -- Andrei
More information about the Digitalmars-d
mailing list