Re:Why you should, actually, rewrite some of it in Rust
by hashmal on Thursday July 13, 2017 @09:11AM
(#14760923)
I think there are memory allocators that provide bounds, yes, but I never bothered finding one. Time-constrained code is so demanding already that handling the memory part is just one drop in an ocean of constraints. (and the whole thing is actually very interesting to do!)
So, yeah, no allocations in situations like that. Allocate at start-up, and re-use your buffers (for that kind of code).