3 ms·
GC is ok as long as you aren't writing some factorio-like etc. Modern computers are perfectly fine doing shit ton of useless stuff 120 times a second without bl
by gnulinux 1y ago
GC is ok as long as you aren't writing some factorio-like etc. Modern computers are perfectly fine doing shit ton of useless stuff 120 times a second without blinking an eye.
- martindbp 1y agoIf 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.
- yencabulator 1y agomalloc often isn't fast enough for games either; arena allocators and ECS came to be for a reason.