C by the numbers. Rankings, lines of code, market share, and the scale of C's dominance.
The TIOBE index measures programming language popularity based on search engine queries. C has been in the top 2 for essentially the entire 25-year history of the index, winning "Language of the Year" in 2008, 2017, and 2019.
Source: TIOBE Index, approximate 2024 values. C has topped the index more times than any other language.
| Project | Lines of C | What it does |
|---|---|---|
| Linux kernel | ~30,000,000 | Runs Android, servers, supercomputers, embedded, IoT, and 96.3% of the world's top 500 supercomputers |
| GCC | ~15,000,000 | The GNU Compiler Collection — compiles C, C++, Fortran, Ada, Go, and more |
| PostgreSQL | ~1,500,000 | The world's most advanced open-source relational database |
| SQLite | ~250,000 | The most deployed database in history — in every phone, browser, and OS |
| nginx | ~190,000 | Powers 34% of the world's web servers |
| Redis | ~170,000 | In-memory key-value store — caching backbone of modern web apps |
| CPython | ~800,000 | The reference implementation of Python |
| curl | ~180,000 | The most-used HTTP client library on Earth — installed on 10+ billion devices |
| Git | ~400,000 | The world's dominant version control system |
| OpenSSL | ~500,000 | TLS library securing most HTTPS connections on the internet |
| FFmpeg | ~1,200,000 | The multimedia framework behind nearly all video processing software |
| Vim | ~380,000 | The ubiquitous terminal text editor, installed on virtually every Unix system |
C has some of the most mature and aggressively optimizing compilers in existence:
Languages like Python, JavaScript, and Go get the headlines. C gets the infrastructure. Every Python script runs on CPython (C). Every JavaScript app runs on V8 (C++) which links against libc (C). Every Go binary is compiled by a compiler that was bootstrapped from C.
C is not competing with other languages. C is the substrate on which other languages exist. When you measure C's usage, you're not measuring popularity — you're measuring the foundation of computing itself. And foundations don't trend on Twitter. They just work, silently, forever.