This site runs best with JavaScript enabled.

Rust: Dropping heavy things in another thread can make your code 10000 times faster

When working on Rust applications or CLIs that need to show something to the end user as fast as possible I often find that a significant chunk of the time is usually spent not in doing any computations, but in dropping large data structures at the end of the function. For example, imagine you have…

Read Article →

Aaron Abramov © 2020