Understanding how Rayon works has been fantastic. With Rayon + Futures co-existing in the same codebase you can pick your parallelization strategy! - Pick Rayon to optimize for throughput, reducing CPU cycles. - Pick Futures to optimize for latency, lowering response times.
-
Show this thread
-
Replying to @yoshuawuyts
Now that the Futures trait is stable, I've been wanting to revisit integration Rayon with futures + async-await, as well, to make it easier to do things like "spin off" CPU-bound work.
1 reply 1 retweet 39 likes
Replying to @nikomatsakis
Ohhh, yessss!
6:17 AM - 11 May 2019
from Berlin, Germany
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.