r/cpp • • Oct 24 '24 • Take My Silver 1

Why Safety Profiles Failed

https://www.circle-lang.org/draft-profiles.html
180 Upvotes

347 comments sorted by

View all comments

Show parent comment

20

u/Dalzhim C++Montréal UG Organizer Oct 25 '24

Clearly, Safety Profiles could come sooner

They've been right around the corner since 2015!

9

u/pjmlp Oct 25 '24 edited Oct 25 '24

And thanks to the experience using what is available in VC++ and clang tidy, there are plenty of us that are sceptical of profiles, given how much they actually do in practice.

Ada profiles get thrown around as inspiration, except Ada is a safe systems language by design, the existing profiles were designed alongside it, and exist since Ada83.

Herb and others should get a random MFC, ATL, WRL codebase, and show how Visual C++ analysis, without annotations, works in practice.