Is there any reasons to not use "mmap" to read files?

rempas rempas at tutanota.com
Sun Feb 6 18:47:45 UTC 2022


On Sunday, 6 February 2022 at 18:33:59 UTC, Temtaime wrote:
> Windows has its own API to mmap files. There's no need to 
> reinvent the wheel, phobos MmFile works for me without any 
> problems.
> Maybe there's no flush function, but for my use cases it's not 
> so critical.

Yeah, I'm really glad that it works for you but I will have to 
create a library for my compiler so there is a need to properly 
learn how things work so I'll know what I'm doing when the times 
comes. So yeah...


More information about the Digitalmars-d mailing list