What is the difference between runtime and compile time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the difference between runtime and compile time?

19th Aug 2018, 6:10 AM
Manish Kumar
Manish Kumar - avatar
6 Answers
+ 4
runtime means during program execution, compile time is during program compilation
19th Aug 2018, 6:27 AM
hinanawi
hinanawi - avatar
+ 2
compile time means that the codes you wrote is being translated to a machine code, while run time means that the executable machine code is being executed.
19th Aug 2018, 1:17 PM
Vince
+ 1
https://www.sololearn.com/Discuss/1462011/?ref=app another example from a similar question
19th Aug 2018, 8:49 AM
Dan Walker
Dan Walker - avatar
+ 1
Runtime and compile time are programming terms that refer to different stages of software program development. Compile-time is the instance where the code you entered is converted to executable while Run-time is the instance where the executable is running. The terms "runtime" and "compile time" are often used by programmers to refer to different types of errors too. Compile-time checking occurs during the compile time. Compile time errors are error occurred due to typing mistake, if we do not follow the proper syntax and semantics of any programming language then compile time errors are thrown by the compiler. They wont let your program to execute a single line until you remove all the syntax errors or until you debug the compile time errors. The following are usual compile time errors: Syntax errors Typechecking errors Compiler crashes (Rarely) http://net-informations.com/JUMP_LINK__&&__python__&&__JUMP_LINK/iq/checking.htm
6th Aug 2019, 5:05 AM
rahul kumar
rahul kumar - avatar
0
Compile time means error in syntax and semantics while run time means that error occur when program in executable state like a divide by b and when we assign value of b=0 then it is run time error
28th Apr 2019, 11:26 PM
Tannu Rathee
Tannu Rathee - avatar
0
Compile time during it your code is compiled into byte code Run time during it your code has been executed
6th Apr 2020, 8:34 PM
gehad gamal