Disable GC entirely

ixid nuaccount at gmail.com
Wed Apr 10 09:05:03 PDT 2013


> It is possible, but it heavily crippeles the language and 
> requires modifications to druntime.
>
> See: http://3d.benjamin-thaut.de/?p=20
>
> Also see my GC free version of druntime:
> https://github.com/Ingrater/druntime
>
> My GC free version of phobos (heavily crippeled):
> https://github.com/Ingrater/phobos
>
> And my little GC free "standard library":
> https://github.com/Ingrater/thBase
>
> Its quite fun doing it when you want to learn new things, but I 
> would not recommend doing so in a real wordl project.

Given what you have learned about GC-free D how practical would 
it be to modify D's core to work without garbage collection and 
then build libraries on top of this which make their GC use 
explicit? It seems to me that this is a level of modularity that 
should have been built in from the start.


More information about the Digitalmars-d mailing list