The implementation difference between Rayon and Futures essentially boils down to "LIFO queue" vs "FIFO queue".
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
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.
-
Ohhh, yessss!
End of conversation
New conversation -
-
-
I can see this as a great way for background tasks which are CPU bound and mixing with them async networking code.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.