Before we move onto simplifying async files in Rust, it's important to learn in which areas the current implementations need improvement. This might surprise you... 1/9
-
-
IIRC that's what Tokio does already, the async fs version is basically calling spawn_blocking for the std sync equivalent (asyncify). Any more info on the reason for the 500x difference?
-
I'm also really curious for the answer :)
End of conversation
New conversation -
-
-
Oh I thought spawn_blocking was deprecated? Or did I misunderstand a github issue there?
-
Good point -- we wanted to deprecate spawn_blocking() but the mechanism that detects blocking automatically (and deprecates that function) was controversial. So spawn_blocking() is here to stay, at least for the time being.
End of conversation
New conversation -
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.