Runtime vs. Realtime Considerations 1. Research the concept of compilation with
ID: 3861547 • Letter: R
Question
Runtime vs. Realtime Considerations
1. Research the concept of compilation with regards to code.
2. Is there a difference in how scripts are compiled vs. how programs are compiled?
3. What is the difference between compile time and runtime?
4. Should these differences & definitions have an impact on what language you choose to write in? Why?
5. Research and determine what types of languages are used predominantly in your industry, and why those choices might relate to the differences between runtime and realtime compilation and/or execution.
Explanation / Answer
1) Compilation:It is the process of converting programming language into a machine level language.Machine language are the 'codes' that machine processor uses.
2)Scripts are interpreted.Scripts are compiled line by line.Scripts are different from the core code of the application,which are written in different language.Programs consist of an executable form that can be used by a computer to execute a instruction .Programs are compiled in one go.The programs code may be written in a modular form with seperations of concern,but it is fundamentally dependent of the system itself.Scripts are interpreted while programs are compiled.
3)Basic difference is that source codes are compiled into machine codes in order to become a executable program.This is known as compilation,time taken for compilation is known as compile time.User can open the compiled program.When the program starts running it is known as runtime.
4)yes, they impact on what language you choose to write in.
some languages are procedural ,some are object oriented
some languages are platform dependent, some are not
all languages have differnt working environment.
all languages have different compilation time,runtime
languages have differnt compiler
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.