[Off-Topic] John Carmack's point of view on GC and languages like JavaScript
Don Allen
donaldcallen at gmail.com
Thu Aug 11 18:34:34 UTC 2022
On Thursday, 11 August 2022 at 13:26:21 UTC, rikki cattermole
wrote:
>
> On 12/08/2022 1:20 AM, wjoe wrote:
>> I guess it's an ignorant point of view, but I don't see how
>> someone whose constraints for writing high-performance, and/or
>> real-time, and/or embedded/micro-architecture code, which
>> prohibits the use of a GC, would find D-Runtime/Phobos meeting
>> their requirements.
>
> There have been multiple users in this category of D who have
> successfully made production systems with the GC linked in.
>
> All memory allocations are expensive and can fail, if you want
> performant safe code you have no choice but to prevent
> allocating memory.
>
> It does not matter what language you use, if you allocate you
> slow your code down.
Yes. The important question is: does it matter?
More information about the Digitalmars-d
mailing list