Show HN: go-git2 – 10-100x faster than go-git, libgit2 -> WASM -> Go
Category: library
Tags: git, go, webassembly, libgit2, performance
Score: 8.3/10 (Innovation: 8, Technical: 9, Documentation: 9, Utility: 7)
go-git2 is a Go library for read-only git repository access that compiles libgit2 to WebAssembly and translates it to pure Go, yielding 10-100x speedups over go-git while remaining CGO-free and memory-safe. It offers a near drop-in API replacement modeled on go-git and fills a gap for fast, sandboxed git history queries in Go.
Target audience: Go backend developers and tooling engineers who need fast, safe git repository access
Repository: https://github.com/msuozzo/go-git2 · Go · MIT · 6 stars
View on Hacker News