Threads and Goroutines
https://shane.ai/posts/threads-and-goroutines/
·
So after several years of reading oversimplified and flat out incorrect comments about threads and fibers/goroutines/async/etc and fighting this reaction:
I’ve decided to write my own still-over-simplified all in one guide to the difference between a couple popular threads and fiber implementations. In order to keep this a blog post and not a novel I’m just going to focus on linux threads, go goroutines, and rust threads.
tl;dr - Rust threads on linux use 8kb of memory, Goroutines use 2kb.