3 ms·
> Another question i have : are there any kind of mechanism to ensure at least some kind of memory safety with regards to memory deallocation ? In general you
by 59nadir 3y ago
> Another question i have : are there any kind of mechanism to ensure at least some kind of memory safety with regards to memory deallocation ?
In general you probably need to learn about custom allocators and how different kinds can help you manage your memory. This applies to pretty much any lower-level language, but Odin, Zig, C++ and a few others have explicit support for this in their standard libraries.