>>27Stack-only allocation does work, but I have to pre-allocated all objects on stack in advance and there is no good way to free these objects, once they got compacted to root stack generations (each stack frame act as garbage collector's generation). Yet in some cases malloc just does precisely what is required, and cant be replaced with garbage collection or stack, without wasting resources, and at the same time malloc is limited only by computer's memory and address space. Although in some cases setting hard limits is useful: the game requires precisely 64 Mb RAM and not a byte more or less.