Hacker News new | ask | show | jobs
by djh_ 4519 days ago
Don't forget games, the vast majority of popular games are likely running native code.

I don't have any stats on that, but you can check out the following games made using the open-source C++ framework Cocos2d-x that the developers asked to be featured:

http://www.cocos2d-x.org/games/all?p=8&page=1

1 comments

Yeah, nobody wants to have a GC pause just as they're about to do something tricky.
So maybe AAA studios shouldn't be using Unity. Oh wait...
The overwhelming bulk of a Unity game on Android runs in purely native code (the Unity shared library). Of course the game orchestration and such runs in a managed runtime (mono), but the garbage created by simple orchestration/management running in a GC is minuscule compared to the garbage created by an entire game engine running in a GC.
Ah you mean like the Witcher 2 for the XBox 360 where the C++ engine uses a GC?