#header-inner {background-position: right !important; width: 100% !important;}


Compile-time vs Runtime of a Program.

When programmers talk about something that program 'knows' during compile time, they mean the data available before program is actually ran. During program compilation (translation from source code to operating-system-dependent machine code, in this case), parts of a computer program's behavior is known and determined, more or less.

Opposed to this is a 'runtime' of a program - it happens when (and after) program is executed. The remaining data is given to program perhaps, and it decides of it's behaviour in details, determines it, more or less. Program's behaviour also depends on computer hardware, other programs, operating system, even laws of physics, weather, and so on...

 photo c_exercise_zpsc56ff7ac.gif

Computer Laboratory: a little 'C' exercise.

C is very well known and popular professional programming language.

Such experiments as above, tell programmer about properties of a programming language and computer system's qualities. They are not formal proofs, just experiments that give approximate results, but not always work the same way.

No comments:

Post a Comment