Why is D unpopular?
Walter Bright
newshound2 at digitalmars.com
Fri Apr 29 15:36:34 UTC 2022
On 4/29/2022 7:56 AM, Paul Backus wrote:
> On Friday, 29 April 2022 at 07:56:15 UTC, bauss wrote:
>> I think his point was that D seems to favor library-only solutions in a lot of
>> cases and then the syntactic sugar is never added properly.
>>
>> No matter how good your library solutions are then you can never implement
>> async/await in a clear fashion without the compiler emitting you a state
>> machine for it.
>
> The dirty secret here is that the code quality of the DMD fronted has
> deteriorated to the point where it is basically impossible to do a correct,
> complete implementation of any non-trivial language feature. So we can either
> have a library solution that works, but has ugly syntax; or we can have a
> language solution that has nice syntax, but doesn't work.
I don't know what the rewrites of async/await would be. If someone would write
that down, I doubt it would be that hard. After all, I got ImportC to work :-/
More information about the Digitalmars-d
mailing list