Why do you continue to use D?
Timon Gehr
timon.gehr at gmx.ch
Tue Jun 9 16:43:21 UTC 2020
On 09.06.20 17:45, 12345swordy wrote:
> On Tuesday, 9 June 2020 at 15:29:39 UTC, Timon Gehr wrote:
>> On 09.06.20 17:11, 12345swordy wrote:
>>> ...
>>>
>>> An idea that show no progress for what? Two years? I am losing my
>>> patience with this already. I can't consider d to be a serious
>>> language if this bug won't be fix in some reasonable time frame in
>>> the future.
>>>
>>> -Alex
>>
>> I am not sure what you hope to accomplish with this rhetoric. There
>> seems to be a recent surge in people assuming that people contribute
>> to the language because they want it to be "popular"/"serious"/...
>> I highly doubt that this is the case and those messages clutter the
>> forums without adding anything interesting to discussions.
>
> This is the first bug that I had encounter first hand when programming
> in d. An bug that hasn't been fixed in years!
>
> It can be fix by having the druntime providing a interface say "Dispose"
> and just have the destroy function call that and leave the old
> deconstructors alone.
>
> The fix itself is heavily inspired by c# language.
> https://docs.microsoft.com/en-us/dotnet/api/system.idisposable.dispose?view=netcore-3.1
>
I don't think that's necessary. Destructors should just inherit the base
class destructor's attributes, then `destroy` can annotate itself with
appropriate attributes.
Also see: https://issues.dlang.org/show_bug.cgi?id=20914
More information about the Digitalmars-d
mailing list