Scripting Flashcards
Describe history of programming languages briefly.
Programmers initially programmed in assembly language, which is specific to one cpu architecture and compile directly to machine code. This is fast to run, but highly inefficient for developers.
Next comes C and C++, which compiles down to object code and assembly language
Once cpu gets fast enough, we start to develop with scripting languages, languages that are intepreted by runtime environments. This has the benefit of no compilation, natural syntax, ease of development, but slower programs
How is scripting languages useful in games?
You could make a lot of parts of the game data-driven. You then use scripts to modify how the game function without having to write a lot of code and recompile