Better branding of -betterC

Timon Gehr timon.gehr at gmx.ch
Sun Nov 15 17:21:23 UTC 2020


On 15.11.20 16:24, ryuukk_ wrote:
> On Sunday, 15 November 2020 at 07:55:22 UTC, Mike Parker wrote:
>> On Sunday, 15 November 2020 at 07:11:01 UTC, ryuukk_ wrote:
>>> On Friday, 13 November 2020 at 22:56:03 UTC, rinfz wrote:
>>>> On Wednesday, 11 November 2020 at 22:15:18 UTC, ryuukk_ wrote:
>>>>> NO GC at all! custom allocator friendly
>>>>
>>>> Out of interest, what are your problems with GC?
>>>
>>> for game engines, GC is not a good thing
>>
>> As a blanket statement, that's just not true. There's a whole universe 
>> of games and game engines you can make where the GC isn't even going 
>> to be a blip on the radar.
> 
> 
> those who don't write games or game engines are always the ones telling 
> you that you shouldn't care
> 
> then you listen to them and you wonder why your game stutters with 50ms 
> pauses (4frames at 60fps) every few seconds
> 
> 

In D the only reason this would happen is because you (continuously) 
allocate memory during the main game loop. Don't do that and you'll be 
fine. I can understand wanting to avoid binary bloat, but the GC does 
not cause stuttering on its own.


More information about the Digitalmars-d mailing list