mmio
is a really simple, really small library for handling memory-mapped io on windows and linux.
Why not boost::iostreams::mapped_file
?
A couple reasons:
- It requires you to use Boost.
- Passing unicode paths requires you to use
boost::filesystem
, which requires you to use even more of Boost, and interops pretty terribly withstd::filesystem
.
Why not mio
?
Being a header only library, it includes system headers into your code, and I don't enjoy fighting tooth and nail with windows.h
for common identifiers.