top | item 45487710

(no title)

oguz-ismail | 4 months ago

> Its that there are languages with additional features which make it easier to have a high confidence. If you can remove entire classes of bugs automatically, why not do so?

Which languages remove which classes of bugs entirely? This vagueness is killing me

discuss

order

AlotOfReading|4 months ago

Safe Rust and Ada SPARK entirely remove classes of bugs like undefined behavior and memory safety issues. The latter will also statically eliminate things like overflow and type range errors.

These are subsets of their respective languages, but all safety critical development in C and C++ relies on even more constrained language subsets (e.g. MISRA or AV++) to achieve worse results.

oguz-ismail|4 months ago

> These are subsets of their respective languages, but

Pretty much every language has such a subset. Nothing new then, sigh...

ecshafer|4 months ago

This is comparing C, C++, ada, Spark and Rust.... I think its obvious.