Live briefing
Everything about Compile-time function execution
Feature of some compilers
In computing, compile-time function execution is the ability of a compiler, that would normally compile a function to machine code and execute it at run time, to execute the function at compile time. This is possible if the arguments to the function are known at compile time, and the function does not make any reference to or attempt to modify any global state. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: Compile-time function executionA 5-minute orientation
- Pick up a classic book: C How to ProgramThe most-reprinted book on the subject
- Go sideways: Variadic templateA closely related topic
- Go sideways: ConstexprA closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
- No matching papers found.
📚 Books worth reading
C How to ProgramPaul J. Deitel, Harvey M. Deitel · 2007
Structure and Interpretation of Computer Programs (SICP)Harold Abelson, Gerald Jay Sussman · 1985
The web application hacker's handbookDafydd Stuttard, Marcus Pinto · 2007
Eloquent JavascriptMarijn Haverbeke · 2009
Parallel Programming in C with MPI and OpenMPMichael J. Quinn · 2003
Programming Massively Parallel ProcessorsDavid Kirk, Wen-Mei W. Hwu · 2010
Advanced OS/2 ProgrammingRay Duncan · 1989
The elements of Canon LawOswald J. Reichel · 1889
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- Variadic template In computer programming, variadic templates or variation generics are templates that take a variable number of type parameters. They exist in several programmin…
- Constexpr constexpr is a specifier keyword in the C and C++ programming languages which, roughly speaking, specifies that something may be evaluated at compile time…
- Template (C++) Templates are a feature of the C++ programming language that allow functions and classes to operate with generic types. This allows a function or class…
- Option type In programming languages (especially functional programming languages) and type theory, an option type or maybe type is a polymorphic type that represents…
- Template metaprogramming Template metaprogramming (TMP) is a metaprogramming technique in which templates are used by a compiler to generate temporary source code, which is merged…
- C++ syntax The syntax of C++ is the set of rules defining how a C++ program is written and compiled. C++ syntax is largely inherited from the syntax of its ancestor…
- C++11 C++11 is a version of a joint technical standard, ISO/IEC 14882, by the International Organization for Standardization (ISO) and International Electrotechnical…
- Producer–consumer problem In computing, the producer-consumer problem (also known as the bounded-buffer problem) is a family of problems described by Edsger W. Dijkstra since 1965…