Top "Compile-time" questions

Refers to the information that can be inferred or known at the time source code is compiled, as opposed to information that can only be inferred when source code is run.

Runtime vs. Compile time

What is the difference between run-time and compile-time?

language-agnostic runtime compile-time
C++ Get name of type in template

I'm writing some template classes for parseing some text data files, and as such it is likly the great majority …

c++ templates compile-time typename
What is the equivalent of Java's System.out.println() in Javascript?

I am writing some tests for Javascript code and I need to dump some messages during the compile process when …

java javascript compile-time println system.out
Static assert in C

What's the best way to achieve compile time static asserts in C (not C++), with particular emphasis on GCC?

c gcc assert compile-time static-assert
Detecting CPU architecture compile-time

What is the most reliable way to find out CPU architecture when compiling C or C++ code? As far as …

c++ c detection cpu-architecture compile-time
Compile time vs Run time Dependency - Java

What is the difference between compile time and run time dependencies in Java? It is related to class path, but …

java runtime classpath compile-time
Can a program depend on a library during compilation but not runtime?

I understand the difference between runtime and compile-time and how to differentiate between the two, but I just don't see …

java build-process runtime compile-time
Cycle inside ; building could produce unreliable results: Xcode 10 Error

I am trying to move to the new build system when compiling with Xcode 10. However, it gives following error: Cycle …

xcode10 compile-time build-system
General rules of passing/returning reference of array (not pointer) to/from a function?

We can pass reference of an array to a function like: void f(int (&a)[5]); int x[5]; f(x); //…

c++ arrays compile-time
What is the difference between runtime and compile-time?

So what is a runtime? Is it a virtual machine that executes half-compiled code that cannot run on a specific …

c# compilation runtime compile-time