by hacker_9 · 10y ago · 0 comments
This is the only reason C++ is still in wide use today, in order for games to limit load times they have to do nasty 'unsafe' tricks (such as loading a block of memory from disk straight into an address space, and just assigning pointers to it), in order to get good performance. But if your game isn't open world (such as minecraft, GTA, Fallout), then using a garbage collected language will be fine (as long it's not stop the world, but runs concurrently).
They offer garbage collected languages on top of their C++ game engines for scripting game logic. Any significant modifications to the engine will need to be done in C++
The link is for C++ garbage collection in UnrealEngine, not UnrealScript nor Blueprints
[0] https://wiki.unrealengine.com/Garbage_Collection_Overview