microsoft/GSL

Guidelines Support Library

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 12 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 9th, 2026
Created on August 19th, 2015
Open Issues & Pull Requests: 22 (+0)
GitHub issues: Enabled
Number of forks: 772
Total Stargazers: 6,731 (+0)
Total Subscribers: 304 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.6 hours
Mean response time: 88.6 days
90th percentile: 110.6 days
Tracked items: 50

Maintainer activity

4 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 728 days
Stale 30+ days: 10
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Type: Bug (16)
  • Status: Open (14)
  • Type: Enhancement (10)
  • Priority: Low (7)
  • Status: Blocked (6)
  • Status: In Progress (6)
  • Help Wanted (5)
  • Effort: Low (3)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

GSL is a header-only C++ library that provides types and functions recommended by the C++ Core Guidelines.

The library addresses the gap between modern C++ best practices and what the standard library offers. It implements guidelines from the C++ Core Guidelines maintained by the Standard C++ Foundation, offering developers practical tools to write safer and more maintainable code. The implementation is entirely inline in headers, with the main entry point being gsl/gsl, though individual components like gsl/span can be included separately. The project requires C++14 support and is designed to work across multiple platforms.

Developers should adopt this library when working on projects that prioritize adherence to C++ Core Guidelines or when seeking to reduce common sources of bugs through guideline-enforced patterns. It suits teams that want to incrementally adopt safer coding practices without major architectural changes, since the library integrates as a lightweight header-only dependency. The tool is particularly valuable for codebases where manual bounds checking and pointer safety are concerns, as it provides standardized abstractions that the guidelines community has vetted.

The project maintains active continuous integration across multiple compilers and is packaged in vcpkg for straightforward dependency management. Development is open to community contributions, with a formal contribution process documented in the repository. The maintainers actively encourage improvements and ports to additional platforms.