Thread overview
[Issue 17060] betterC std.allocator
Jan 04, 2017
greenify
Jun 19, 2017
Walter Bright
Feb 11, 2018
Seb
Dec 17, 2022
Iain Buclaw
January 04, 2017
https://issues.dlang.org/show_bug.cgi?id=17060

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--
June 19, 2017
https://issues.dlang.org/show_bug.cgi?id=17060

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |betterC
                 CC|                            |bugzilla@digitalmars.com

--
October 23, 2017
https://issues.dlang.org/show_bug.cgi?id=17060

radu.racariu@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |radu.racariu@gmail.com

--- Comment #1 from radu.racariu@gmail.com ---
+1.

Allocators are missing from betterC mode, and they are a very important improvement over C's malloc/free.

I think scope(xxx) and struct destructors need to work in betterC mode as a mandatory requirement for allocator redesign.

In my opinion they need to be split in 2 : C runtime (core?), and D runtime based - the C runtime based ones should be obviously usable from betterC and ideally the D runtime one should be constructed on the basic blocks provided by the C runtime implementation.

Given the experimental nature of the allocatos package this would be a good time to revisit their design and improve their modularity

--
February 11, 2018
https://issues.dlang.org/show_bug.cgi?id=17060

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com

--- Comment #2 from Seb <greensunny12@gmail.com> ---
>From the NG:

> 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


(https://forum.dlang.org/post/ybibqtybjvqgbzruyegc@forum.dlang.org)

@Ilya: I don't think someone has fixed this already :/

--
October 11, 2018
https://issues.dlang.org/show_bug.cgi?id=17060

--- Comment #3 from Илья Ярошенко <ilyayaroshenko@gmail.com> ---
https://github.com/dlang-community/stdx-allocator/pull/12

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=17060

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 01
https://issues.dlang.org/show_bug.cgi?id=17060

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/9706

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--