On Tuesday, 30 September 2014 at 13:29:15 UTC, po wrote:
All true again, pre-allocation can fix lots of pause issues.
And simply not using GC in tight loops. While not the greatest
fan of Unity, it proved that GC (on top of of VM) is not a
concern for (I argue) most of gamedev. Minecraft was
originally written in Java for crying out loud yet it didn't
stop it from becoming gigantic success.
Unity the engine is written in C++. When you create a game
using Unity you are merely scripting the C++ engine using C#,
no different than the countless games that do the same using
Lua.
This will most likely change when they get their IL2CPP
production ready and start moving code from C++ to C#.
Or when Microsoft finishes the ongoing work on .NET Native.
--
Paulo