It shouldn't be hard to retrofit the Boehm collector into D if anyone cares to make a comparison.
On Apr 6, 2012, at 11:36 AM, bearophile <bearophileh...@lycos.com> wrote: > 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