Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 05, 2015 What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Hi! Today I met one guy on the internet, he said that he will use D only if standard library will not require Garbage Collector (in case of total GC disabling). So what's the current status of GC in Phobos? :^) I've heard there has been some work on it. Regards, Alex |
April 05, 2015 Re: What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to MarisaLovesUsAll | On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll wrote: > Hi! > Today I met one guy on the internet, he said that he will use D only if standard library will not require Garbage Collector (in case of total GC disabling). > So what's the current status of GC in Phobos? :^) > I've heard there has been some work on it. > > Regards, > Alex BTW, there is some people that dislikes D because of GC. If it's possible to write GC-free code, people should know about GC disabling. >We aim to make the standard library usable in its entirety without a garbage collector. Maybe phobos no-GC update will be a good opportunity. And thanks for the D, it's awesome. :^) Regards, Alex |
April 05, 2015 Re: What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to MarisaLovesUsAll | On 4/4/15 7:23 PM, MarisaLovesUsAll wrote:
> Hi!
> Today I met one guy on the internet, he said that he will use D only if
> standard library will not require Garbage Collector (in case of total GC
> disabling).
> So what's the current status of GC in Phobos? :^)
> I've heard there has been some work on it.
>
> Regards,
> Alex
The short answer is there's progress on that, which I expect to accelerate soon. But we're not there yet. -- Andrei
|
April 05, 2015 Re: What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to MarisaLovesUsAll | On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll wrote:
> Hi!
> Today I met one guy on the internet, he said that he will use D only if standard library will not require Garbage Collector (in case of total GC disabling).
> So what's the current status of GC in Phobos? :^)
> I've heard there has been some work on it.
>
> Regards,
> Alex
I expect 2.068 to be the first version of D really "usable" without the GC if we get std.allocator/@nogc smartpointers/etc, but I might just be sticking my foot in my mouth right now. : )
|
April 05, 2015 Re: What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to weaselcat | On Sunday, 5 April 2015 at 05:10:21 UTC, weaselcat wrote:
> On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll wrote:
>> Hi!
>> Today I met one guy on the internet, he said that he will use D only if standard library will not require Garbage Collector (in case of total GC disabling).
>> So what's the current status of GC in Phobos? :^)
>> I've heard there has been some work on it.
>>
>> Regards,
>> Alex
>
> I expect 2.068 to be the first version of D really "usable" without the GC if we get std.allocator/@nogc smartpointers/etc, but I might just be sticking my foot in my mouth right now. : )
Unfortunately, I doubt @nogc exception support will be ready for 2.068 (there isn't even any plans for it at the moment), and @nogc is still unusable until that's taken care of.
|
April 05, 2015 Re: What's the current status of GC in phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kapps | On Sunday, 5 April 2015 at 08:08:26 UTC, Kapps wrote:
> On Sunday, 5 April 2015 at 05:10:21 UTC, weaselcat wrote:
>> On Sunday, 5 April 2015 at 02:23:47 UTC, MarisaLovesUsAll wrote:
>>> Hi!
>>> Today I met one guy on the internet, he said that he will use D only if standard library will not require Garbage Collector (in case of total GC disabling).
>>> So what's the current status of GC in Phobos? :^)
>>> I've heard there has been some work on it.
>>>
>>> Regards,
>>> Alex
>>
>> I expect 2.068 to be the first version of D really "usable" without the GC if we get std.allocator/@nogc smartpointers/etc, but I might just be sticking my foot in my mouth right now. : )
>
> Unfortunately, I doubt @nogc exception support will be ready for 2.068 (there isn't even any plans for it at the moment), and @nogc is still unusable until that's taken care of.
yep, foot in mouth.
|
Copyright © 1999-2021 by the D Language Foundation