compile time garbage collection

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 21:35:15 PDT 2015


On Sat, 02 May 2015 16:24:15 +0000, Ola Fosheim Grøstad wrote:

> On Saturday, 2 May 2015 at 16:13:36 UTC, ketmar wrote:
>> On Sat, 02 May 2015 15:10:10 +0000, Freddy wrote:
>>
>>> How crazy hard would it be to have a front end optimization pass that
>>> would try to replace garbage collector calls with malloc / free?
>>
>> impossible.
> 
> Not impossible

oh, well, it is possible by adding RC and mark-and-sweep for loops. yet 
this is cheating, 'cause it's the same old GC in different clothes. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150503/83fc30ff/attachment.sig>


More information about the Digitalmars-d mailing list