Re:Rust: Dropping heavy things in another thread can make yo...
by pdimitar on Sunday May 31, 2020 @08:20AM
(#23369079)
Well, I have been taught to take good manual care of all used resources. It is kind of a cognitive shock when you see all your training hand-waved away with "let the OS handle my mess of allocated objects that I'll never call `free` on". It's kind of disappointing on some level. :)
As I acknowledged in other comments of mine downthread, I understand that different situations require different tradeoffs. It's just that forgoing memory deallocation wasn't one of them in my head.
And how many millions of iterations have been done successfully in that "awful" system?
The very fact that you never imagined it I think says a lot.