Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
add comment

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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
add comment

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