Hacker News new | ask | show | jobs
by MichaelMoser123 3544 days ago
i remember that Bjarne Stroustrup held a talk in cppcon15 where he talked a lot about the GSL library [1] - it would add type annotations that can be checked by a tool, so as to check for potential memory problems (to me that sounds like a poor man's borrow checker).

One year later: i see the template library [1] but i don't see the analysis tool. Does anybody know what happened with this initiative?

[1] https://www.youtube.com/watch?v=1OEu9C51K2A

[2] https://github.com/Microsoft/GSL

1 comments

The tools are called clang tidy and Visual Studio 2015 Update 3.

Other vendors might eventually add support as well.