# andreasfertig/cppinsights

C++ Insights - See your source code with the eyes of a compiler

Repository: https://github.com/andreasfertig/cppinsights
Canonical: https://ross.abutalabs.com/products/cppinsights
Homepage: https://cppinsights.io
Language: C++
License: MIT
License Family: permissive
Topics: clang, cpp, cpp11, cpp14, cpp17, cpp20, ast, cplusplus, cplusplus-11, cplusplus-14, cplusplus-17, cplusplus-20, llvm, cplusplus-23, cpp23, cpp26
Last push: 2026-08-26T10:38:02+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 51, longevity 100
- inputs: {"age_days": 3048, "days_push": 7, "days_rel": 112, "gap_med": 242.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4521, forks 266 (observed 2026-08-28T04:08:52.765645+00:00)

## What it is
C++ Insights is a Clang-based source-to-source transformation tool that shows the compiler's view of C++ code, revealing implicit conversions, compiler-generated special members, lambda desugaring, and auto type deduction. It is available as a CLI tool and an online web interface at cppinsights.io.

## Use cases
- see how the compiler transforms my C++ lambdas
- understand what auto deduces to in my code
- show students what a range-based for-loop expands to
- view compiler-generated constructors and operators
- understand implicit casts and upcasts in C++
- learn what structured bindings look like to the compiler

## When to choose
- teaching or learning modern C++ internals
- debugging subtle type deduction or implicit conversion behavior
- exploring how C++11/14/17/20 features desugar

## When to avoid
- you need actual assembly output (use Compiler Explorer)
- you need a full static analysis or linting tool
- your code uses constructs the tool cannot yet transform

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, parser, developer-tools, documentation
- domain: developer-tools, compilers, programming-languages, education, parsers
- platform: windows, cpp, cli
- tags: clang, llvm, source-to-source, ast, cpp11, cpp17, cpp20, teaching, compiler-explorer-alternative, linux, macos, web-server

## Member repositories
- andreasfertig/cppinsights (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:52.765645+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-29T18:20:17.146194+00:00, confidence not recorded.
  - readme: https://github.com/andreasfertig/cppinsights (fetched 2026-08-28T04:08:52.765645+00:00, sha b41fd10a62a1)
  - homepage: https://cppinsights.io (fetched 2026-08-29T09:06:05.866606+00:00, sha 84281debb6d2)
  - site_page: https://cppinsights.io/about.html (fetched 2026-08-29T09:06:05.875465+00:00, sha b2eac89eb1a0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
