libycxx was written by AI agents whose models were trained on public code that likely includes these libraries, whose licences carry obligations; this analysis is the evidence of how close libycxx is to them. Why this exists.
Similarity analysis · fingerprints
Fingerprints
Fingerprints are small details an implementation is free to choose, compared over whole libraries: internal names, numbers, strings, comments, misspellings. Copying tends to carry them along; independent work does not. Every pair of libraries is counted the same way.
Each cell counts the distinct items shared exclusively by the two libraries, absent from every other compared library. This page shows counts only; the items themselves, with their locations and dispositions, are on Fingerprint items.
Internal identifiers, exact spelling
Reserved (implementation-namespace) identifiers in their exact spelling. Removed: compiler builtins, predefined macros, ABI- and platform-specified names, template parameters, names shorter than six characters, and names whose core is the standard's own vocabulary (from the draft sources).
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 203 | 120 | 1 | 4 | 0 |
| libstdc++ | 203 | — | 147 | 31 | 6 | 4 |
| libc++ | 120 | 147 | — | 210 | 1361 | 1 |
| MSVC STL | 1 | 31 | 210 | — | 0 | 0 |
| C++03 fork | 4 | 6 | 1361 | 0 | — | – |
| libcxxrt | 0 | 4 | 1 | 0 | – | — |
expected Exact spelling mostly measures naming conventions. libycxx spells internal names with a leading double underscore and members with a trailing one, as one established library does throughout and another does for local names, while the third uses a different convention that almost never coincides. Read the convention-free cores for content.
libycxx items in this category: 27 claimed by findings, 292 in reviewed groups, 5 unreviewed.
Internal identifiers, convention-free core
The same identifiers reduced to a convention-free core (prefix and suffix underscores, member and static prefixes and a 'My' prefix removed, case folded), keeping cores of at least two words and eight characters.
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 96 | 52 | 66 | 4 | 0 |
| libstdc++ | 96 | — | 122 | 85 | 1 | 4 |
| libc++ | 52 | 122 | — | 181 | 996 | 1 |
| MSVC STL | 66 | 85 | 181 | — | 5 | 0 |
| C++03 fork | 4 | 1 | 996 | 5 | — | – |
| libcxxrt | 0 | 4 | 1 | 0 | – | — |
expected libycxx's exclusive overlap with each library is at or below the overlap between the established libraries themselves. Nearly all shared cores are descriptive compounds of standard names (an 'is_' test, an '_impl' helper, a '_fn' function object) or terms of art; the distinctive ones are findings F02 to F08, and the rest are a reviewed group.
libycxx items in this category: 29 claimed by findings, 182 in reviewed groups, 3 unreviewed.
Numeric literals
Numeric literals outside tables, without small values, powers of two and ten, bit masks, and calendar and Unicode constants.
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 13 | 9 | 2 | 0 | 0 |
| libstdc++ | 13 | — | 10 | 38 | 0 | 0 |
| libc++ | 9 | 10 | — | 1207 | 24 | 0 |
| MSVC STL | 2 | 38 | 1207 | — | 0 | 0 |
| C++03 fork | 0 | 0 | 24 | 0 | — | – |
| libcxxrt | 0 | 0 | 0 | 0 | – | — |
expected libycxx's exclusive matches are standard-specified engine parameters and seeds, published-algorithm constants (Marsaglia and Tsang's gamma method, Hinnant's civil-date arithmetic), IEEE, ECMAScript and POSIX values and powers of small integers. No arbitrary tuning constant matches; see the tuning table.
libycxx items in this category: 9 claimed by findings, 15 in reviewed groups, 0 unreviewed.
Literal tables
Literal tables of at least eight numbers, compared by their longest common contiguous run (at least eight), and tagged as primes, powers or code-point-like.
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 6 | 2 | 3 | 2 | 0 |
| libstdc++ | 6 | — | 7 | 9 | 3 | – |
| libc++ | 2 | 7 | — | 23 | 3 | – |
| MSVC STL | 3 | 9 | 23 | — | 2 | – |
| C++03 fork | 2 | 3 | 3 | 2 | — | – |
| libcxxrt | 0 | – | – | – | – | — |
expected libycxx's matching tables are the standard's engine parameters, month lengths and cumulative day counts, and powers of ten. libycxx has no prime-number table.
libycxx items in this category: 8 claimed by findings, 5 in reviewed groups, 0 unreviewed.
String literals
String literals of at least six characters, case and whitespace normalised.
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 762 | 15 | 3 | 0 | 0 |
| libstdc++ | 762 | — | 18 | 3 | 0 | 6 |
| libc++ | 15 | 18 | — | 32 | 141 | 43 |
| MSVC STL | 3 | 3 | 32 | — | 0 | 0 |
| C++03 fork | 0 | 0 | 141 | 0 | — | – |
| libcxxrt | 0 | 6 | 43 | 0 | – | — |
expected Most strings libycxx shares with one library are IANA registry data (finding E03) and Itanium demangler output (finding E04); the rest are POSIX and platform names, environment variables and locale category names, plus one message string (finding F09).
libycxx items in this category: 753 claimed by findings, 27 in reviewed groups, 0 unreviewed.
Comment lines
Comment lines of at least six words, punctuation and case normalised, licence text removed.
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 2 | 0 | 0 | 0 | 0 |
| libstdc++ | 2 | — | 77 | 10 | 0 | 0 |
| libc++ | 0 | 77 | — | 279 | 5651 | 0 |
| MSVC STL | 0 | 10 | 279 | — | 0 | 8 |
| C++03 fork | 0 | 0 | 5651 | 0 | — | – |
| libcxxrt | 0 | 0 | 0 | 8 | – | — |
none libycxx shares almost no comment lines with any library (only Itanium ABI grammar productions and a list of the standard's section names), while the established libraries share tens to hundreds with each other.
libycxx items in this category: 2 claimed by findings, 0 in reviewed groups, 0 unreviewed.
Comment 8-word shingles
All 8-word sequences of comment text; a calibration count only (shared lines are listed under comment lines).
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 10 | 7 | 0 | 0 | 0 |
| libstdc++ | 10 | — | 181 | 47 | 0 | 5 |
| libc++ | 7 | 181 | — | 1132 | 56574 | 10 |
| MSVC STL | 0 | 47 | 1132 | — | 0 | 30 |
| C++03 fork | 0 | 0 | 56574 | 0 | — | – |
| libcxxrt | 0 | 5 | 10 | 30 | – | — |
none The few shingles libycxx shares are formula fragments, paper titles, file formats and ABI grammar.
Misspellings
Comment words seen at most six times overall that are one edit away from a word seen at least twenty times as often, excluding inflections (a heuristic).
| libycxx | libstdc++ | libc++ | MSVC STL | C++03 fork | libcxxrt | |
|---|---|---|---|---|---|---|
| libycxx | — | 6 | 0 | 1 | 0 | 1 |
| libstdc++ | 6 | — | 11 | 2 | 0 | 1 |
| libc++ | 0 | 11 | — | 2 | 15 | 1 |
| MSVC STL | 1 | 2 | 2 | — | 0 | 0 |
| C++03 fork | 0 | 0 | 15 | 0 | — | – |
| libcxxrt | 1 | 1 | 1 | 0 | – | — |
none The heuristic's hits for libycxx are real words, spelling variants and identifiers: no shared misspelling.
libycxx items in this category: 0 claimed by findings, 8 in reviewed groups, 0 unreviewed.
libcxxrt is compared only where it has code (the ABI runtime). Pairs with the C++03 fork count items exclusive of the four main libraries other than the pair's own.