Re:Dealing with Out-of-Memory Conditions in Rust
by Waterluvian on Saturday August 14, 2021 @09:25AM
(#28180420)
I think if we wanted a concrete answer you’d be right.
But I feel like a static analyzer could clearly identify “this line can allocate” just by knowing what language features can allocate. And for third party library methods “does this function have anything inside of it that could allocate?”
But I feel like a static analyzer could clearly identify “this line can allocate” just by knowing what language features can allocate. And for third party library methods “does this function have anything inside of it that could allocate?”