Comment by zzzcpan
8 years ago
"This could easily happen in Go as well."
Not really true. Go operates on slices that panic on out-of-bounds accesses. So, for this to happen in Go you would have to reinvent slices and use a lot of manual C-style code to operate on them, which literally nobody does in Go, because it's too hard.
Recycling memory buffers, like CloudFlare does?
https://blog.cloudflare.com/recycling-memory-buffers-in-go/