memory management and the standard library
Seb
seb at wilzba.ch
Wed Mar 13 17:47:55 UTC 2019
On Wednesday, 13 March 2019 at 16:34:29 UTC, Sjoerd Nijboer wrote:
> On Wednesday, 13 March 2019 at 08:22:30 UTC, Kagamin wrote:
>> The allocator API is experimental, so currently only 3rd party
>> libraries use manual memory management.
>
> If the allocator API would become non experimental, would there
> be any attempt to extract allocators out using templates?
What do you mean by this? You can already use the allocator API
today, though I would recommend to use the DUB package [1] as the
API there is frozen and thus won't break with potential changes.
Also v3 of the DUB package [1] works with BetterC.
[1] https://github.com/dlang-community/stdx-allocator
More information about the Digitalmars-d
mailing list