[Off-Topic] John Carmack's point of view on GC and languages like JavaScript

monkyyy crazymonkyyy at gmail.com
Wed Aug 10 21:33:27 UTC 2022


On Wednesday, 10 August 2022 at 20:23:17 UTC, max haughton wrote:
> On Wednesday, 10 August 2022 at 19:15:46 UTC, monkyyy wrote:
>> On Tuesday, 9 August 2022 at 23:46:57 UTC, max haughton wrote:
>>> On Tuesday, 9 August 2022 at 23:12:33 UTC, monkyyy wrote:
>>>> On Tuesday, 9 August 2022 at 16:32:09 UTC, max haughton 
>>>> wrote:
>>>>> dmd not freeing by default is/was a bad idea. The memory 
>>>>> usage
>>>>
>>>> Hmmmm; isnt d compiler pretty quick and fairly good about 
>>>> not crashing dispite having a small team?
>>>> Why isnt the natural conclusion that it looks like it worked 
>>>> out; just corrrect?
>>>
>>> Your "natural" conclusion is based off a biased sample
>>
>> Thats fairly self serving a take.
>>
>> If it was as bad as your impling even a good team would have 
>> fucked it up; no?
>
> It's easy to get wrong but I think you can avoid most of the 
> "bloat" (most of this isn't so much bloat as in wasted space as 
> much as wasted cycles which I think requires slightly more 
> nuanced discussion) by having cycle-counting and hard upper 
> bounds on runtimes in CI.
If I look at some of the old std code the only explaination for 
why some of it is so terrible is that it was written before there 
were good d programmers
Presumably parts of dmd were written before there would good 
programmers; and if they managed to make a fast compiler(when 
most compilers are terrible) I would think maybe theres some 
unique design decisions deserve some credence



More information about the Digitalmars-d mailing list