News for hackers. Stuff that matters.
Re:C Craft by holygoat on Friday December 18, 2009 @08:53PM (#1004391)
I've worked on a project that successfully uses memory mapping on all the major OSes.

mmap is (allegedly) portable across Unixes:

http://opengroup.org/onlinepubs/007908775/xsh/mmap.html

and you can do the same thing (with a few more hoops) on Windows.

Re:C Craft by kelnos on Saturday December 19, 2009 @04:32AM (#1004630)
Many people may not care, but mmap() often doesn't exist on hardware without a MMU.
Re:C Craft by Locke1689 on Friday December 18, 2009 @10:21PM (#1004446)
There's no guarantee that it will be portable and act the same (even across the POSIX systems). I'm not saying you should never use it, just that it shouldn't your automatic answer to everything.