I guess the hard part will be the fact that all your dependent libraries will (likely) still be unsafe.
I guess the hard part will be the fact that all your dependent libraries will (likely) still be unsafe.
https://learn.microsoft.com/en-us/cpp/code-quality/code-anal...
VC++ analysis builds up on SAL infrastructure.
https://learn.microsoft.com/en-us/cpp/code-quality/understan...
"Closing the Gap between Rust and C++ Using Principles of Static Analysis - CppCon 2020"
https://www.youtube.com/watch?v=_pQGRr4P16w
There is also a clang work on lifetimes, but little progress has happened since 2019.
"Lifetime analysis for everyone - CppCon 2019"
But there are better modern alternatives.
https://docs.scala-lang.org/scala3/book/scala-for-python-dev...
Types in Scala are not only "first-class". You can even program with them like in TS.
https://blog.rockthejvm.com/type-level-programming-scala-3/
(Type level functions are correctness proves, BTW.)
Enjoy!