Possible Duplicate:
Why do we use scripts in development?

Im wondering, why do people use scripting languages like Lua or Python in game engines when we can use CLI/C++ or C# interpreters?

share|improve this question
feedback

closed as exact duplicate by Byte56, Jonathan Hobbs, Nicol Bolas, bummzack, Kylotan Jul 21 at 12:37

This question covers exactly the same content as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

There are few advantages:

  1. scripting languages can save lots of development time
  2. the code can be "cleaner" and easier to modify
  3. no need to recompile the code after each edit

And as the engine itself is usually written in compiled language, performance is usually not an issue and when it is you can port only the bottleneck code to C++, etc. and call it from your scripting language.

share|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.