Live briefing
Everything about Precompiled header
Optimized type of file in computer programming
In computer programming, a precompiled header (PCH) is a header file that is compiled into an intermediate form that is faster to process for the compiler. Usage of precompiled headers may significantly reduce compilation time, especially when applied to large header files, header files that include many other header files, or header files that are included in many translation units. The ideas of precompiled headers were central to the development of C++ modules. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: Precompiled headerA 5-minute orientation
- Read the landmark paper: An implementation of precompiled headersCited 8 times
- Go sideways: Modules (C++)A closely related topic
- Go sideways: Pragma onceA closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
📚 Books worth reading
Open Library didn't respond; try again in a moment.
đź”— Related topics
- Modules (C++) Modules in C++ are a feature added in C++20 implementing modular programming as a modern alternative to precompiled headers. A module in C++ comprises…
- Pragma once In the C and C++ programming languages, #pragma once is a non-standard but widely supported preprocessor directive designed to cause the current header…
- C preprocessor The C preprocessor (CPP) is a text file processor that is used with C, C++ and other programming tools. The preprocessor provides for file inclusion (often…
- Translation unit (programming) In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from…
- Include directive An include directive instructs a text file processor to replace the directive text with the content of a specified file. The act of including may be logical…
- Interprocedural optimization Interprocedural optimization (IPO) is a collection of compiler techniques used in computer programming to improve performance in programs containing many…
- Header-only In the context of the C or C++ programming languages, a library is called header-only if the full definitions of all macros, functions and classes comprising…
- Zig (programming language) Zig is a general-purpose system programming language that emphasizes performance, simplicity and metaprogramming. The compiler is free and open-source…