"Fast Kernel Headers" Tree -v1: Eliminate the Linux kernel's "Dependency Hell"

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. include-what-you-use

    A tool for use with clang to analyze #includes in C and C++ source files

    This is crazy amount of work and a crazy result. Is anyone familiar with tools that would guard against ending up in a situation like this? Google's Include What You Use comes to mind but I don't know of anything else.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. stl-header-heft

    Measures how parsing overweight the major STLs have become

    The older I get the more I think #include in public headers needs to have a whitelisted regex git push filter, and the permitted whitelist of permitted includes is small and excludes most of the standard library. https://github.com/ned14/stl-header-heft, after all.

  4. zapcc

    zapcc is a caching C++ compiler based on clang, designed to perform faster compilations

    C++ modules helps with the parsing problem similar to precompiled headers, but it doesn't help with the code execution at compile time problem. All your overload matching, free function lookup, SFINAE, concept matching, and consteval code needs executing and that can take very considerable time. Other than JITing all that stuff, and maybe running an in-memory server like https://github.com/yrnkrn/zapcc, I don't know what more can be done here.

  5. ClangBuildAnalyzer

    Clang build analysis tool using -ftime-trace

    https://github.com/aras-p/ClangBuildAnalyzer is a very useful tool to quantify the cost of different headers (and other costly parts of the compile such as template instantiations). It doesn’t help with actually fixing such problems, but it’s a pretty good ruler to measure where the time is spent.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • IRHash: Efficient Multi-Language Compiler Caching by IR-Level Hashing

    1 project | news.ycombinator.com | 7 Sep 2025
  • In 10 years, Clang has become 2x slower, but generates code that is 10-20% faster

    1 project | /r/cpp | 10 Jan 2022
  • Zapcc: A caching C++ compiler based on Clang

    1 project | news.ycombinator.com | 24 Apr 2021
  • Distcc – distribute builds across multiple machines simultaneously

    5 projects | news.ycombinator.com | 1 Jan 2021
  • We need to seriously think about what to do with C++ modules

    6 projects | news.ycombinator.com | 31 Aug 2025

Did you know that C++ is
the 7th most popular programming language
based on number of references?