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

Core game code commonly uses custom allocators that do provide those semantics though.

A bump allocator that you reset every frame is O(1) and a dozen or so cycles per allocation for example.



Sure, yes. I was referring more to ‘general-purpose dynamic allocator’ (malloc or so). I agree custom memory management/reclamation techniques can be fine for RT; just semantics.




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

Search: