3 ms·
I want to point out that because go has value type, it's possible to implement Arena Allocators using only safe Go, which is something one might need for these
by ychen306 8y ago
I want to point out that because go has value type, it's possible to implement Arena Allocators using only safe Go, which is something one might need for these kind of games.
- littlestymaar 8y agoWithout generics, you'd need to implement one allocator per type you'd like to allocate … (Because just using Interface{} defeats the point of having value types in the first place)