Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
October 14, 2020 Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
What was the reasoning behind this decision? |
October 14, 2020 Re: Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack | On Wednesday, 14 October 2020 at 20:27:10 UTC, Jack wrote:
> What was the reasoning behind this decision?
Andrei's std::allocator talk from a few years ago at cppcon covers this (amongst other things)
|
October 15, 2020 Re: Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Haughton | On Wednesday, 14 October 2020 at 20:32:51 UTC, Max Haughton wrote:
> On Wednesday, 14 October 2020 at 20:27:10 UTC, Jack wrote:
>> What was the reasoning behind this decision?
>
> Andrei's std::allocator talk from a few years ago at cppcon covers this (amongst other things)
Yes, and what did he say?
You seriously don't expect people to search for a random talk from a random event from a random year?
|
October 15, 2020 Re: Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Schluter | On Thursday, 15 October 2020 at 06:39:00 UTC, Patrick Schluter wrote: > On Wednesday, 14 October 2020 at 20:32:51 UTC, Max Haughton wrote: >> On Wednesday, 14 October 2020 at 20:27:10 UTC, Jack wrote: >>> What was the reasoning behind this decision? >> >> Andrei's std::allocator talk from a few years ago at cppcon covers this (amongst other things) > > Yes, and what did he say? > You seriously don't expect people to search for a random talk from a random event from a random year? It's quite easy to find on youtube. First result searching for "andrei std allocator": https://www.youtube.com/watch?v=LIb3L4vKZ7U The slides are also available here: https://raw.githubusercontent.com/CppCon/CppCon2015/master/Presentations/allocator%20Is%20to%20Allocation%20what%20vector%20Is%20to%20Vexation/allocator%20Is%20to%20Allocation%20what%20vector%20Is%20to%20Vexation%20-%20Andrei%20Alexandrescu%20-%20CppCon%202015.pdf |
October 15, 2020 Re: Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Attachments:
| On Wed, Oct 14, 2020 at 10:30 PM Jack via Digitalmars-d-learn < digitalmars-d-learn@puremagic.com> wrote: > What was the reasoning behind this decision? > https://dlang.org/deprecate.html#Class allocators and deallocators |
October 15, 2020 Re: Why was new(size_t s) { } deprecated in favor of an external allocator? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Schluter | On Thursday, 15 October 2020 at 06:39:00 UTC, Patrick Schluter wrote:
> On Wednesday, 14 October 2020 at 20:32:51 UTC, Max Haughton wrote:
>> On Wednesday, 14 October 2020 at 20:27:10 UTC, Jack wrote:
>>> What was the reasoning behind this decision?
>>
>> Andrei's std::allocator talk from a few years ago at cppcon covers this (amongst other things)
>
> Yes, and what did he say?
> You seriously don't expect people to search for a random talk from a random event from a random year?
It's the first result when you search for "Andrei std::allocator"
|
Copyright © 1999-2021 by the D Language Foundation