Scripting Flashcards

0
Q

Describe history of programming languages briefly.

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

How is scripting languages useful in games?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly