Thread overview
New Garbage Collector?
Jul 22, 2017
aedt
Jul 22, 2017
Temtaime
Jul 22, 2017
tetyys
Jul 22, 2017
Igor Shirkalin
Jul 22, 2017
Stefan Koch
Jul 23, 2017
Temtaime
Jul 23, 2017
Moritz Maxeiner
Jul 23, 2017
Moritz Maxeiner
Jul 25, 2017
Nick Treleaven
Jul 22, 2017
Dmitry Olshansky
July 22, 2017
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/

July 22, 2017
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.
July 22, 2017
On Saturday, 22 July 2017 at 10:17:49 UTC, Temtaime wrote:
> The new precise GC will be never added to druntime.
> It is dead, man.

Why?
July 22, 2017
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?
July 22, 2017
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?

He's not he's just a naysayer :)
July 22, 2017
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/

I'm working on new GC. First iteration aims to be faster at allocation and at collection without changing the fundamental mark-sweep strategy. Second stage is getting concurrent collection. It wouldn't be a real-time miracle, but a pause time in the range of 10-20ms is possible.
July 23, 2017
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. Current implementation does memory leaks, works slow and has some other disadvantages.
But no one of the « real » developers sees reason to rewrite the gc, because they want to play with theirs toys bringing new not so essential stuff to the d.
And we will suffer from this many years.
July 23, 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/
July 23, 2017
On Sunday, 23 July 2017 at 09:54:36 UTC, Moritz Maxeiner wrote:
>
> Have you read the excellent blog posts about to use the GC in D by Micheal Parker [2][3]?

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

Sorry about that.

> [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/


July 25, 2017
On Saturday, 22 July 2017 at 10:17:49 UTC, Temtaime wrote:
> The new precise GC will be never added to druntime.

2.075 has precise scanning of the DATA and the TLS segments (on Windows):
http://dlang.org/spec/garbage.html#precise_dataseg

This seems like significant progress towards precise scanning of the heap.