Re:Sony Ericsson to introduce Android 3.0 gaming platform & ...
by abrahamsen on Thursday August 12, 2010 @02:18AM
(#1597385)
C++ has better tools for manual memory management (value types, smart pointers, RAII).
[ Parent
| on HN ]
Re:Sony Ericsson to introduce Android 3.0 gaming platform & ...
by jrockway on Thursday August 12, 2010 @02:25AM
(#1597398)
Working around the garbage collector and using any C++ memory management techniques are both ugly hacks. (http://yosefk.com/c++fqa/exceptions.html#fqa-17.4)
Fortunately, there has been plenty of research on GCs that are fast enough for games. So the solution is to use one of those for Android, now that people are actually interested in writing games.
Re:Sony Ericsson to introduce Android 3.0 gaming platform & ...
by abrahamsen on Thursday August 12, 2010 @04:03AM
(#1597525)
Your link mention two C++ facilities for supporting manual memory management that have no equivalents in Java, and thus (ignoring the smug sarcasm) supports my original point.
A better GC was already mentioned by the OP as another option.