C's Biggest Mistake on Hacker News

Seb seb at wilzba.ch
Tue Jul 24 17:24:41 UTC 2018


On Tuesday, 24 July 2018 at 17:14:53 UTC, Chris M. wrote:
> On Tuesday, 24 July 2018 at 16:15:52 UTC, bpr wrote:
>> On Tuesday, 24 July 2018 at 14:07:43 UTC, Ecstatic Coder wrote:
>>> [...]
>>
>> No. For many C++ users, tracing GC is absolutely not an 
>> option. And, if it were, D's GC is not a shining example of a 
>> good GC. It's not even precise, and I would bet that it never 
>> will be. If I'm able to tolerate a GC, there are languages 
>> with much better GCs than the D one, like Go and Java.
>>
>> [...]
>
> There was a precise GC in the works at one point, no clue what 
> happened to it.

The newest PR is:

https://github.com/dlang/druntime/pull/1977

Though there's already a bit of precise scanning on Windows, e.g. 
https://github.com/dlang/druntime/pull/1798 and IIRC Visual D 
uses a precise GC too.


More information about the Digitalmars-d mailing list