[Semi OT] Language for Game Development talk

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 08:34:31 PDT 2014


On 9/25/14, 8:12 AM, Kagamin wrote:
> On Thursday, 25 September 2014 at 13:57:17 UTC, Andrei Alexandrescu wrote:
>> On 9/25/14, 4:33 AM, Kagamin wrote:
>>> On Thursday, 25 September 2014 at 09:16:27 UTC, Walter Bright wrote:
>>>> So how do you tell it to call myfree(p) instead of free(p) ?
>>>
>>> Maybe stock malloc/free is enough for him?
>>
>> That kind of commitment shouldn't be baked into the language. That's
>> why RAII and scope are better than his notation.
>
> Allocation is orthogonal to RAII and scope. Allocation creates resource,
> RAII tracks it.

Affirmative. -- Andrei



More information about the Digitalmars-d mailing list