collectNoStack should be axed
Alexandru Ermicioi
alexandru.ermicioi at gmail.com
Tue Apr 23 16:06:11 UTC 2024
On Tuesday, 23 April 2024 at 14:24:14 UTC, Steven Schveighoffer
wrote:
> This is a property of ALL GCs, even Java does not guarantee
> finalizers will run.
> -Steve
That's why it is recommended to use try-with-resorces statement
to manage non-memory resources such as http connections opened
files and etc. in java
For D code it would make sense to have such resources, reference
counted.
More information about the Digitalmars-d
mailing list