about statically and dynamic typed languages and unity3d

Hi there guys

I just want to know if the following statement is correct/true. Please note, this is NOT my point of view, I just want to clarify what I found the last day or so on the net.

Statement:
It might not be the case for website development, but for the performance demanding nature of game development, statically typed languages (e.g c++ and C#), will have a net performance benifit over dynamically typed (e.g Javascript and python) languages.

Thanks

It doesn’t apply to Unity, which only uses statically typed languages. (It’s possible to use some dynamic typing in Unityscript, but it’s not common, and can make sure you don’t by using “#pragma strict”.)

–Eric

Thanks Eric

Can you explain the “#pragma strict” where would I implement that?

btw, that vectrocity is working awesome, thanks

#pragma strict is a preprocessor command that you’d include at the top of each script file.

read more about typing and performance related to Unity here:
http://unity3d.com/support/documentation/ScriptReference/index.Performance_Optimization.html