# edsrzf/mmap-go

A portable mmap package for Go

Repository: https://github.com/edsrzf/mmap-go
Canonical: https://ross.abutalabs.com/products/mmap-go
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2024-12-12T18:11:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5633, "days_push": 629, "days_rel": 693, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1110, forks 134 (observed 2026-08-28T04:03:37.459845+00:00)

## What it is
mmap-go is a portable memory-mapped file (mmap) package for Go. It provides a cross-platform API for mapping files into memory on Linux, macOS, and Windows.

## Use cases
- memory-map a file in Go
- read large files efficiently with mmap
- portable mmap across Linux, macOS, and Windows
- share data between processes via memory-mapped files
- fast random access to file contents

## When to choose
- you need memory-mapped file access in Go with cross-platform support
- you want a small, focused, well-tested mmap library

## When to avoid
- you need mprotect or mincore, which are not implemented
- you target Plan 9 or WebAssembly, where functions always return errors

## Facets
- artifact type: library
- maturity: stable
- function: file-system, developer-tools
- domain: developer-tools, operating-systems, files
- platform: go, windows, cross-platform
- tags: mmap, memory-mapped-files, syscall, portable, linux, macos

## Member repositories
- edsrzf/mmap-go (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.459845+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:43:26.862375+00:00, confidence not recorded.
  - readme: https://github.com/edsrzf/mmap-go (fetched 2026-08-28T04:03:37.459845+00:00, sha 8e71952ef06e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
