Rant of the day

aberba karabutaworld at gmail.com
Mon Jan 25 22:44:41 UTC 2021


On Monday, 25 January 2021 at 22:00:48 UTC, H. S. Teoh wrote:
> On Mon, Jan 25, 2021 at 09:26:28PM +0000, Tove via 
> Digitalmars-d wrote:
>> On Monday, 25 January 2021 at 20:07:04 UTC, H. S. Teoh wrote:
>> > Relying on a GC-collected object to reclaim a resource (in 
>> > this case a mmap mapping) is an anti-pattern that should be 
>> > expunged from Phobos.
>> > 
>> > 	https://issues.dlang.org/show_bug.cgi?id=9501
> [...]
>> Fully agree... it was brought up ages
> At this point, a dub package or some other external module is 
> probably a better bet.  I'd try my hand at a standalone 1-file 
> replacement for std.mmfile,

Yeah, dub is totally okay.


More information about the Digitalmars-d mailing list