GC vs. Manual Memory Management Real World Comparison
Iain Buclaw
ibuclaw at ubuntu.com
Tue Sep 11 06:45:56 PDT 2012
Is not difficult to implement, as the compiler only needs to warn that the
emission of /certain/ library calls /may/ cause heap allocations.
Regards.
----
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
On 11 Sep 2012 11:31, "bearophile" <bearophileHUGS at lycos.com> wrote:
>
> SomeDude:
>
>
>> It's a bad solution imho. Monitoring the druntime and hunting every part
that allocates until our codebase is correct like Benjamen Thaut is a much
better solution
>
>
> Why do you think such hunt is better than letting the compiler tell you
what parts of your program have the side effects you want to avoid?
>
> Bye,
> bearophile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20120911/0381d86d/attachment.html>
More information about the Digitalmars-d-announce
mailing list