by dehrmann · 6d ago · 0 comments
But for use-after-free, from the beginning, the solution was not to have pointers in the language at all; Ada does have pointers and Ada.Unchecked_Deallocation.
Obviously dynamic memory allocating does have useful applications, so after Rust 1.0 was released, SPARK Ada added pointers and an explicitly Rust-inspired ownership model.
"Verification of Programs with Pointers in SPARK", 2020 https://dl.acm.org/doi/10.1007/978-3-030-63406-3_4
"Proving heap-manipulating programs with SPARK", 2021 https://av.tib.eu/media/53376
Clearly it's bringing something to the table, even if not technical.