Stroustrup objects to adding Contracts to C++

Paul Backus snarwin at gmail.com
Wed Nov 11 15:18:08 UTC 2026


On Wednesday, 11 November 2026 at 12:37:58 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Effects analysis in dmd is DOA in the type system.
>
> It cannot do it correctly.
>
> Walter screwed up designing the architecture for dmd's semantic 
> analysis when he designed it to be fast and not for analysis 
> capabilities.
>
> See: attribute soup. Without inference working correctly, this 
> problem cannot be fixed, and we can't fix it.

If we've given up on fixing DMD's semantic analysis then D as a 
language is as good as dead.


More information about the Digitalmars-d mailing list