On Thursday, 14 January 2021 at 18:10:43 UTC, mw wrote:
Python's `del` isn't guaranteed to free the memory, that's what
Fair point, but I was thinking of the C interop interface. You can create your own wrapper (e.g. numpy) and do manual memory management, but it isn't something people want to do! It is mostly pointless to do that within Python because of the existing overhead. That applies to most high level languages; you can, but it is pointless. You only do it for interop...
One can follow the same kind of reasoning for D. It makes no sense for people who want to stay high level and do batch programming. Which is why this disconnect exists in the community... I think.