|
|
|
|
|
by jpc0
482 days ago
|
|
Writing to a channel of size 1 feels a lot like a yeild to me, you can even do it in a loop. A task is an abstraction over those primatives in any language. To my knowledge TBB task graph abstract over a threadpool using exactly that concept. From what I've seen swift is the only language that properly handles concurrency. I'm taking another crack at rust but the fact that everyone uses tokio for anything parallel makes me feel like the language doesn't have great support for concurrency, it just has decent typing which isn't a surpise to anyone. |
|