[Semi OT] Language for Game Development talk

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 02:16:22 PDT 2014


On 9/25/2014 1:47 AM, bearophile wrote:
>> This stood out for me. Deallocated how?
>
> Calling free when the struct instance goes out of scope, I presume.
>
>
>> People who write high perf software tend to have multiple
>> allocators for different purposes.
>
> I think that data is used all together, so it's reasonable to allocate it from a
> single allocator.
>
>
>> I don't think this feature will work.
>
> I think he's already using this strategy in production code. So I think it
> works. He's just asking for a language feature that implements this idiom for
> him in a shorter and cleaner way.

So how do you tell it to call myfree(p) instead of free(p) ?



More information about the Digitalmars-d mailing list