Discussion on Go and D

bearophile bearophileHUGS at lycos.com
Fri Apr 6 11:36:19 PDT 2012


Andrei Alexandrescu:

> A few more samples of people's perception of the two languages:
> 
> http://news.ycombinator.com/item?id=3805302

Some of the comments in that ycombinator thread are a bit unnerving.

There is a similar thread on Reddit too:
http://www.reddit.com/r/programming/comments/rvwj0/go_severe_memory_problems_on_32bit_systems/

Two quotes from the Reddit page:

>The Boehm GC attempts to mitigate this by detecting false references to free blocks and blacklisting before they become references to live blocks, restricting their use to low-impact situations.
Also Boehm supports typed allocation(gc_typed.h/GC_malloc_explicitly_typed) where you tell GC that pointers are located only at specific offsets and everything other should be ignored.<

>tag data as no-pointers and allocate in separate section. The garbage collector can avoid scanning this section, with reduces collection time as well as the number of false positives.<

Bye,
bearophile


More information about the Digitalmars-d mailing list