lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Just if anybody is interested:
> The latest title from the German Company "BlueByte" called 
> "Settlers V" is about to be released. It consists of:
>     - 500.000 LoC written in C++
>     - 150.000 LoC written in LUA
> LUA is used for all the mission scripting and they are very 
> happy with it since they started using it in Settlers IV. 
> Settler V is one of the major PC gaming titles to hit the 
> stores for this Christmas.
> Bernd

The reason they are happy is C++ is statically typed, for execution
efficiency, and Lua is dynamically typed, for cognitive efficiency. It's
easier to code the command-and-control logic when you don't need to
write lots of "dynamic_cast<> ::iterator void ->" all the time.