New Garbage Collector?

Moritz Maxeiner via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 23 02:54:36 PDT 2017


On Sunday, 23 July 2017 at 09:34:09 UTC, Temtaime wrote:
> On Saturday, 22 July 2017 at 16:35:03 UTC, Igor Shirkalin wrote:
>> On Saturday, 22 July 2017 at 10:17:49 UTC, Temtaime wrote:
>>> On Saturday, 22 July 2017 at 04:53:17 UTC, aedt wrote:
>>>> In the forum, I saw a thread about someone working on a new 
>>>> GC. Just wanted to know if there's any updates on that. And 
>>>> what issues is it going to fix..
>>>>
>>>> Personally, I would be greatly delighted if it acknowledges 
>>>> the Stop-The-World problem[1]. Going around it is shown not 
>>>> to be impossible[2]. I do understand it's not trivial task 
>>>> but how is the community/core devs supporting this?
>>>>
>>>> [1] https://dlang.org/spec/garbage.html
>>>> [2] https://hub.docker.com/r/nimlang/nim/
>>>
>>> The new precise GC will be never added to druntime.
>>> It is dead, man.
>>
>> Are you real developer of new GC?
>
> I am that who sees _no progress_ for many years.

Slow progress != no progess [1]

> Current implementation does memory leaks

Which bug reports are you referring to specifically?

> works slow

It's not the best a non-generational stop-the-world 
mark-and-sweep GC can be, but in my experience it's good enough 
for non-realtime applications as long as you don't use it for 
huge memory chunks (i.e. stick to objects without large arrays).

> and has some other disadvantages.

Which are you referring to?

> And we will suffer from this many years.

Have you read the excellent blog posts about to use the GC in D 
by Micheal Parker [2][3]?

[1] https://github.com/dlang/druntime/commits/master/src/gc
[2] http://dlang.org/blog/2017/03/20/dont-fear-the-reaper/
[3] https://dlang.org/blog/2017/06/16/life-in-the-fast-lane/


More information about the Digitalmars-d mailing list