by ysleepy · 7mo ago · 0 comments
Java had green threads in 1997, removed them in 2000 and brought them back properly now as virtual threads.
I'm kinda glad they've sat out the async mania, with virtual threads/goroutines, the async stuff just feels like lipstick on a pig. Debugging, stacktrackes etc. are just jumbled.
Like their purpose/implementation everything is just so different, they don't share anything at all.
https://docs.rs/tokio/latest/%20tokio/runtime/struct.Handle....
I assume that answers your question.