vimpunk/mio
Cross-platform C++11 header-only library for memory mapped file IO observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3260
- days_rel: n/a
- days_push: 934
- n_releases_24m: 0
Adoption not part of the score
1953 stars · 180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mio is a cross-platform, header-only C++11 library for memory mapped file IO, serving as a lightweight alternative to Boost.Iostreams' mmap functionality. It supports mapping via file paths or already-open file handles, accepts arbitrary offsets by handling page-boundary alignment internally, and offers both move-only and shared-semantics mapping classes.
Use cases
- memory map a file in C++ without pulling in Boost
- create a memory mapping from an already open file descriptor
- read large files efficiently via mmap in a cross-platform way
- map a region of a file at an arbitrary offset
- use memory mapped IO in a project built with -fno-exceptions
- share a mapping between objects with shared semantics
When to choose
- you need memory mapped file IO in C++ with zero dependencies
- you want to map from an existing file handle or use non-page-aligned offsets
- you want a header-only, MIT-licensed, cross-platform mmap abstraction
When to avoid
- you need buffered or streamed IO rather than memory mapping
- you already depend on Boost and prefer Boost.Iostreams
- you need the library to validate file descriptor access permissions for you
Facets
library · maturity stable
file-system developer-tools files developer-tools cross-platform windows cpp cross-platform memory-mapped-files mmap header-only cpp11 no-dependencies linux macos
1 source
- readme: https://github.com/vimpunk/mio · fetched 2026-08-28 · 952675b7c936
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vimpunk/mio | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem