|
|
|
|
|
by pjmlp
2547 days ago
|
|
Visual Studio and clang are introducing a borrow checker in their static analysis tools. If you leave it on as part of the build you get an similar experience (note on similar, they aren't bullet proof due to language semantics). There are a couple of conference talks about them. Naturally smart pointers predate Rust, I used them back when Windows 3.1 was considered recent, alongside OWL. However they aren't the same thing, introduce runtime overhead and don't prevent use-after-free, or use-after-move. |
|