News for hackers. Stuff that matters.
Re:The Poor Man's Voxel Engine by yoklov on Thursday February 19, 2015 @09:43PM (#9078607)
C++ std::shared_ptr does the same thing as ARC (reference counting based on scope/lifetime). Rust probably has something similar in it's standard library.

FWIW I wouldn't use reference counting in game development if I could avoid it, because it has pretty bad performance characteristics as well (the only thing it really has over GC is that it's deterministic, and that, with the exception of in Objective C, you can choose where and where not to use it).

Re:The Poor Man's Voxel Engine by maccard on Friday February 20, 2015 @03:57AM (#9079595)
Most games don't do any heap allocations at al during runtime(or at least very very few), so you shouldn't/don't end up with garbage collector pauses during normal gameplay. If you refcount your main structures, they can be auto cleaned up /removed when changing levels/loading scenes/swapping chunks out on the fly.