Heads-up: upcoming instabilities in std.experimental.allocator, and what to do

9il ilyayaroshenko at gmail.com
Fri Feb 9 14:43:04 UTC 2018


On Friday, 9 February 2018 at 14:38:50 UTC, Seb wrote:
> On Friday, 9 February 2018 at 14:24:45 UTC, 9il wrote:
>> On Thursday, 30 November 2017 at 19:01:02 UTC, Andrei 
>> Alexandrescu wrote:
>>> Hi all,
>>>
>>>
>>> Eduard, Alexandru Jercaianu and I are working on improving 
>>> allocators' design and implementation. This entails a few 
>>> breaking changes.
>>
>> Awesome! If you have any architecture/API drafts they would 
>> interesting to review for BetterC.
>>
>> Best regards,
>> Ilya
>
> Here's what I know has happened so far:
>
> 1) RCAllocator
>
>
> https://dlang.org/changelog/pending.html#std-experimental-allocator-rciallocator
>
> 2) AscendingPageAllocator
>
> https://dlang.org/phobos-prerelease/std_experimental_allocator_building_blocks_ascending_page_allocator.html
>
> (there's most likely more WIP)

Mallocator contains/contained (is it fixed?) global `instance` 
member. So it is/was not betterC. This is key betterC bug because 
Mallocator is the base building blog for almost all possible 
BetterC allocators. --Ilya


More information about the Digitalmars-d mailing list