.hh

4 claimants 1 primary 3 secondary unambiguous primary

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

3.9M
total occurrences
704.3K
since 2019 (17.9%)
1970–2023
years active

Case variants in archive: .hh (3.9M), .HH (1.0K), .Hh (14) — aggregated above.

Attribution status

This extension is attributed to C++ as primary by 1 authoritative claim.

Authoritative sources: △ Linguist · secondary △ Pygments · secondary ✓ Wikidata · Q2407 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (6)

Languages that list .hh among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
C++wikidataprimary
C++linguistsecondary
C++pygmentssecondary
cpppygmentssecondary
Hacklinguistsecondary
Objective-C++pygmentssecondary

Wikidata says… (2)

File formats, image formats, audio codecs and other non-PL entities that claim .hh on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
C++ header Q13039854
file format
file formatUse as new PL ↗
HammerHead Rhythm Station pattern Q105857161
file format
file formatapplication/octet-streamUse as new PL ↗

Disambiguation rules (1)

Linguist heuristics that decide, by content, which language a .hh file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.hh/0Hackpredicates[{"kind": "any", "regexes": ["<\\?hh"]}]

SWH-mined examples (3)

Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
BKE_node_runtime.hh · 25636 B · seen 510× in SWH
predicted: unclassified via fallback
swh:1:cnt:afebe5c63ec2e72fd4fbd9f8efc14026ae3afa3d;origin=https://github.com/asd158/blender3.5.1;anchor=swh:1:rev:d25f4f71c312a5de61486349ae02551988266aed;path=/src/source/blender/blenkernel/BKE_node_runtime.hh
Open in SWH · Raw bytes
BKE_node.hh · 12259 B · seen 464× in SWH
predicted: unclassified via fallback
swh:1:cnt:d6c8353da42015c26f04840a392fdad083dd3905;origin=https://github.com/dshawshank/Blender-android_arm64;anchor=swh:1:rev:c8b5b17d40c4e969fada2e89873edaf0dda5cd30;path=/source/blender/blenkernel/BKE_node.hh
Open in SWH · Raw bytes
GHOST_SystemSDL.hh · 2527 B · seen 183× in SWH
predicted: unclassified via fallback
swh:1:cnt:67e093f3ddd12d5059fc29462e5b64848d601fc1;origin=https://github.com/dshawshank/Blender-android_arm64;anchor=swh:1:rev:b626f1fd18e98b18a8ea1ac90fbf659cd23ee361;path=/intern/ghost/intern/GHOST_SystemSDL.hh
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .hh is, request a fresh mining run.
(or open the pre-filled issue directly)