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

rempas rempas at tutanota.com
Mon Feb 7 07:14:06 UTC 2022


On Sunday, 6 February 2022 at 20:12:39 UTC, H. S. Teoh wrote:
> Just read the Phobos source code for std.mmfile. Phobos code is 
> very readable compared to most typical standard libraries.
>
>
> T

I suppose this goes to what I said that I need to properly learn 
how things work right? Well I mean, how Windows does it with the 
system call. I don't think that it is necessary to read the 
Phobos source code. But regardless, thanks for the suggestion!


More information about the Digitalmars-d mailing list