Analysis of D GC

Jacob Carlborg via Digitalmars-d digitalmars-d at
Tue Jun 20 04:49:49 PDT 2017

On 2017-06-20 06:54, ketmar wrote:

> "...the dubious optimization of no interior pointers..."
> this is the ONLY (i emphasise it!) way i were able to make my e-mail and 
> irc clients to not leak memory, and keep using GC. on 32-bit systems 
> false pointers *is* a problem, and NO_INTERIOR really helps.
> turning NO_INTERIOR into something dog-slow (or noop) will make D 
> unusable on 32-bit systems for anything more complex than helloworld and 
> throwaway scripts. particularly, any app that should work for weeks or 
> monthes without restart (yep, i want my mail client to Just Work, and 
> i'm not rebooting my PC that often) will be *forced* to ditch GC.
> while NO_INTERIOR requires some coding discipline, it is invaluable in 
> IRL apps.

You need to move to 64bit. Apple is already deprecating support for 
32bit apps and after the next version of macOS (High Sierra) they're 
going to remove the support for 32bit apps.

/Jacob Carlborg

More information about the Digitalmars-d mailing list