Why Firaxis switched from Python to LUA?
Crossbones+ - Reputation: 4119
Posted 27 July 2012 - 03:10 PM
Europe1300.eu - Historical Realistic Medieval Sim (RELEASED!)
Crossbones+ - Reputation: 6446
Posted 27 July 2012 - 04:12 PM
The main advantages i can think of are:
1) Lua is smaller and faster. (at basic arithmetics and function calling, it loses greatly at tasks which the python standard library handles)
2) Lua has a slightly simpler syntax (no strict indentation) which makes life easier for modders, allthough i guess those who modded Civ4 are unhappy about the change as they most likely get less flexibility and have to learn a new language).
If they wanted people to write Civilization mods that turned the game into a first person shooter then yes, Python would be a superior choice, but for setting a few values and flags at runtime it just doesn't make much sense.
The voices in my head may not be real, but they have some good ideas!
Members - Reputation: 1341
Posted 27 July 2012 - 06:14 PM