▲ | pjmlp 9 hours ago | |
Only if you never moved beyond Ada83. Controlled Types and SPARK provide the mechanisms to deallocate only when it is actually safe to do so. Additionally unbounded collections, are just like graphs in Rust, they provide safe ways to managed dynamically sized collections, while hiding the unsafe code in implementation. |