new should lower to a template function call

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jul 24 15:05:40 UTC 2020


On 7/24/20 10:08 AM, jmh530 wrote:
> I can't speak to why people don't use them in D, but it is hard to 
> compare to C++ where it is already part of the standard library.

There's a lot more development beyond that (in which I may take a part, 
too): http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2035r0.pdf

It seems there's a strong recognition within a part of the C++ community 
that memory allocation is an essential part of fast scalable 
application. Consequently, there's strong incentive to push for better 
allocator integration within the language.


More information about the Digitalmars-d mailing list