On 2013-12-30 12:23, JN wrote:
I'm kind of an outsider to this discussion, but take a look how many games are written using GC-languages, Minecraft is written in Java, Terraria in C# and all Unity3D games use Mono underneath (usually C#). And these languages don't allow you to use malloc even if you wanted to (you can do some of that stuff with NIO buffers in java but it's a PITA).
You can use malloc and friends via JNI in Java. The SWT source code is full of uses of malloc, although it's a bit more verbose than to use it from C or D since it doesn't have pointers.
-- /Jacob Carlborg
