Re:Ada for the C++ and Java Developer [pdf]
by beached_whale on Sunday March 28, 2021 @04:31PM
(#26614200)
One thing I am excited about is that we should be able to exploit the contracts in some circumstances to better performance.
For C you can have a look at Frama-C. [2]
D also has DbC. [3]
In case you can target Windows only, VC++ supports SAL Annotations, while not DbC they help to improve code security
[1] - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p233...
[2] - https://frama-c.com/html/acsl.html
[3] - https://dlang.org/spec/contracts.html
[4] - https://docs.microsoft.com/en-us/cpp/code-quality/using-sal-...