|
|
|
|
|
by moltonel3x
1700 days ago
|
|
Sorry, bad mischaracterisation on my part, annoyingly it's too late to edit my post. Looking at the Ada docs again, it considers manual deallocation an unsafe operation and suggests avoiding it altogether (IIUC, by restricting yourself to the stack or by leaking to the heap). That seems like a huge restriction, making the "Ada is safer than Rust" claims rather academic. |
|
You should compare with Ada 2012 with finalization types and SPARK.
Hardly any different than using unsafe on Rust's standard library, wrapped with safer constructs.