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

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Feb 7 18:31:42 UTC 2022


On Mon, Feb 07, 2022 at 07:16:55AM +0000, rempas via Digitalmars-d wrote:
> On Sunday, 6 February 2022 at 20:48:09 UTC, IGotD- wrote:
> > Phobos/druntime is like an #ifdef hell but with version instead.
> 
> Actually, I personally tried to read some files (like stdio.d and
> conv.d) and while I didn't found them super user friendly, they are
> WAY more clear and easy to read then GLIB!

I tried reading GLIB source code once. I will never ever do it again.
:-P


> I don't know if every libc's header files are like that in every OS
[...]

If it's in C? Yeah, they all look like that.


T

-- 
Shin: (n.) A device for finding furniture in the dark.


More information about the Digitalmars-d mailing list