Re:Rust: Dropping heavy things in another thread can make yo...
by seventh-chord on Saturday May 30, 2020 @01:38PM
(#23362981)
Killing a process without freeing all allocations is, as far as I can tell, routine in C. Especially for memory it makes no sense "freeing" allocations, the whole memory space is getting scrapped anyways. Of course, once you add RAAI the compiler cant reason about which destructors it can skip on program exit, and if programmers are negligent of this you get programs that are slow to close.
[ Parent
| on HN ]
Re:Rust: Dropping heavy things in another thread can make yo...
by estebank on Saturday May 30, 2020 @03:11PM
(#23363770)
> Killing a process without freeing all allocations is, as far as I can tell, routine in C.
Many times by accident :)
> if programmers are negligent of this you get programs that are slow to close.
I wouldn't call that negligence, just not fully optimized.