Phobos v3 idea: File interface

Adam Wilson flyboynw at gmail.com
Sun Sep 22 20:53:54 UTC 2024


On Thursday, 19 September 2024 at 21:43:42 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> System handles must be deterministically cleaned up. If you do 
> not do this, you can run out of handles and then crash.

I don't see this as a blocker. This can be handled by calling 
.close() in a scope(exit) block. I'll accept that manual resource 
management is more difficult to get right, but for now it works 
just fine. It's also pretty much the state of things right now, 
so we won't be going backwards.




More information about the Digitalmars-d mailing list