News for hackers. Stuff that matters.
Re:Full-time open source with Andrew Kelley by erik_seaberg on Wednesday August 04, 2021 @04:25PM (#28065850)
Ada has destructors and can limit pointer type to lifetimes of large memory pools, but as far as I know it doesn’t prevent use-after-free for single objects the way Rust does. Lots of Ada is embedded on small platforms where they statically allocate a fixed number of objects anyway.
Re:Full-time open source with Andrew Kelley by krupan on Wednesday August 04, 2021 @07:36PM (#28067828)
"Lots of Ada is embedded on small platforms where they statically allocate a fixed number of objects anyway."

Which is what a lot of c code does too. And zig might too?