Stroustrup objects to adding Contracts to C++

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Nov 12 01:42:29 UTC 2026


What can be done has already been done.

D has had a lot of intelligent people working on it for over 25 years.
All of the low hanging fruit, and many of the more costly ones were done 
well over a decade ago.

I've reviewed parts of dmd, such as the backend involved in the 
application of abstract interpretation, optimizations and so on, and 
what is there is rock solid.

I wish there was something that could be done, but semantic analysis 
isn't designed to be reentrant, it has scoping issues across symbols 
lurking underneath it as well. There isn't anything that has a ROI left 
that I've found.



More information about the Digitalmars-d mailing list