Worst ideas/features in programming languages?

Dylan Graham dylan.graham2000 at gmail.com
Fri Oct 15 15:55:51 UTC 2021


On Friday, 15 October 2021 at 15:17:11 UTC, Imperatorn wrote:
> On Friday, 15 October 2021 at 14:24:16 UTC, SomeGuy wrote:
>> On Friday, 15 October 2021 at 13:45:11 UTC, deadalnix wrote:
>>>[...]
>>
>> This problem could still be solved by making the GC just 
>> another allocator (and make it the default global allocator). 
>> D's current GC only runs when an allocation is made anyway, so 
>> doing this shouldn't break the behavior of existing code 
>> (except leaking memory if the constructs that assume GC is 
>> used, of course).
>>
>> Maybe from this point on those constructs can be made to use 
>> reference counting instead and make sure they're 
>> allocator-independent.
>
> Bring back new and make it configurable 😎

Maybe I can make LWDR do this.


More information about the Digitalmars-d mailing list