Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're allocating stuff every frame you'll run into problems quickly. Sure, you can use an object pool or arena allocator, but then you're basically circumventing GC.


malloc often isn't fast enough for games either; arena allocators and ECS came to be for a reason.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: