Everything about Single compilation unit
Software compilation technique for C/C++
Single compilation unit (SCU) is a computer programming technique for the C and C++ languages, which reduces compilation time for programs spanning multiple files. Specifically, it allows the compiler to keep data from shared header files, definitions and templates, so that it need not recreate them for each file. It is an instance of program optimization, and can be seen as a form of implementing modular programming. The technique can be applied to an entire program or to some subset of source files; when applied to an entire program, it is also known as a unity build. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: Single compilation unitA 5-minute orientation
- Pick up a classic book: American FilmThe most-reprinted book on the subject
- Go sideways: Precompiled headerA closely related topic
- Go sideways: Unity buildA closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🏆 Landmark papers (most cited)
- No matching papers found.
📚 Books worth reading
American FilmAmerican Film Institute · 1975
All you need to know about the music businessDonald S. Passman · 1991- 📕The instrumental assistantSamuel Holyoke · 1801
SystemVerilog for VerificationChris Spear · 2006- 📕Curtis's pocket almanack, and register of New-Hampshire for the year 1808Samuel Curtis · 1807
- 📕Curtis's pocket almanack, and register of New-Hampshire for the year 1809Samuel Curtis · 1808
- 📕Curtis's pocket almanack, and register of New-Hampshire for the year 1807Samuel Curtis · 1806
The Librarian's Copyright CompanionJames S. Heller, Paul Hellyer · 2004
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- Precompiled header In computer programming, a precompiled header (PCH) is a (C or C++) header file that is compiled into an intermediate form that is faster to process for…
- Unity build In software engineering, a unity build (also known as unified build, jumbo build or blob build) is a method used in C and C++ software development to speed…
- 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…
- 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…
- 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…
- Linkage (software) In programming, linkage describes how names can or can not refer to the same entity throughout the whole program or one single translation unit. The static…
- Optimizing compiler An optimizing compiler is a compiler designed to generate code that is optimized in aspects such as minimizing program execution time, memory usage, storage…