Questions tagged [compile-time]
The compile-time tag has no summary.
13 questions
2 votes
2 answers
320 views
When calculating the runtime of a c++ program, how do you factor in constexpr/tmp functions?
It's mostly all in the title. How do you report the runtime of a C++ program that has intensive calculations at compile-time? If I have a program that, when I use the bash time command on it, appears ...
1 vote
1 answer
140 views
Variable binding time (Steve McConnell)
Currently reading Steve McConnell "Code complete". "General issues in using variables" chapter, "Binding time" section. He says about variable's binding time in such ...
23 votes
8 answers
6k views
Detect manual changes to an autogenerated C header [closed]
I have a C header that is generated from a CSV file and a Python script. The C header mainly contains a list of #define constants. I want to be able to detect manual changes to this header during ...
2 votes
3 answers
5k views
Comparison of build times on various hardware; why non-linear results?
Why do the compile times not vary significantly between different era CPUs, even though disk (NVMe vs. HDD) and CPU benchmarks vary significantly in performance? Why does disabling hyperthreading ...
4 votes
3 answers
2k views
How useful is JNI in android?
In java/android we can call code written in the c/c++ language for execution speed advantage. I have heard of Ahead Of Time compilation which (as far as i know) compiles the entire application to ...
-1 votes
2 answers
703 views
What does syntactically legal string mean in compiler design?
In programming language theory semantics, semantic is the field concerned with the rigorous mathematical study of the meaning of programming languages. It does so by evaluating the meaning of ...
108 votes
5 answers
12k views
How does shifting to microservices create a run-time problem?
The following commentator writes: Microservices shift your organizational dysfunction from a compile time problem to a run time problem. This commentator expands on the issue saying: Feature not ...