Skip to content

Add safearena - Safe arena memory management#6026

Open
scttfrdmn wants to merge 1 commit intoavelino:mainfrom
scttfrdmn:add-safearena
Open

Add safearena - Safe arena memory management#6026
scttfrdmn wants to merge 1 commit intoavelino:mainfrom
scttfrdmn:add-safearena

Conversation

@scttfrdmn
Copy link

@scttfrdmn scttfrdmn commented Feb 4, 2026

Adds safearena to the Performance section.

Quality Links

Forge link: https://github.com/scttfrdmn/safearena
pkg.go.dev: https://pkg.go.dev/github.com/scttfrdmn/safearena
goreportcard.com: https://goreportcard.com/report/github.com/scttfrdmn/safearena
Coverage: https://codecov.io/gh/scttfrdmn/safearena

What is SafeArena?

Safe wrapper around Go's experimental arena package that prevents use-after-free and double-free bugs through runtime checks and static analysis.

Why add it?

  • Unique solution for safe arena memory management in Go
  • Production-quality: 97% test coverage, comprehensive documentation
  • Real-world examples with performance benchmarks
  • Static analyzer tool (arenacheck) for compile-time detection
  • Active development and maintenance

Project Stats

  • 97% test coverage (Codecov)
  • CI on Linux and macOS, Go 1.23–1.25
  • Comprehensive documentation (Migration guide, FAQ, Performance guide)
  • Real-world examples (JSON parser, DB processor, image filters)
  • Static analyzer (arenacheck)
  • Go 1.23+ support

Placement

Added to Performance section in alphabetical order between profile and statsviz.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Automated Quality Checks (from CONTRIBUTING minimum standards)

  • Repo: OK
  • pkg.go.dev: OK
  • goreportcard: OK (grade unknown)
  • coverage: OK

These checks are a best-effort automation and do not replace human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant