[Semi OT] Language for Game Development talk

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 13:38:04 PDT 2014


On Thursday, 25 September 2014 at 15:34:31 UTC, Andrei
Alexandrescu wrote:
> 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

And in many cases scope statements are simpler, better, harder,
stronger !


More information about the Digitalmars-d mailing list