Comment

Comment by Ididntdothis

I used to do this sometimes with C++ when I realized that clearing out a vector with lots of objects was slow. Is Rust basically based on unique_ptr? One problem with this approach was that you still had to wait for these threads when the application would shut down.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton