Twitter | Pretraživanje | |
Stjepan Glavina
First blog post on writing your own async executors in Rust. Here's how to implement block_on() in a few lines of safe code.
If you’ve ever wondered how block_on from the futures crate works, today we are going to write our own version of the function.
Reply Retweet Označi sa "sviđa mi se" More
Chris Vest 31. sij
Odgovor korisniku/ci @stjepang
Why is this faster than whatever the futures crate does? Has some trade-off been made?
Reply Retweet Označi sa "sviđa mi se"
Stjepan Glavina 31. sij
Odgovor korisniku/ci @chvest
I'm not sure why the futures crate is slower, but it's most likely for a silly reason like a missing #[inline] or something of that sort.
Reply Retweet Označi sa "sviđa mi se"
yosh 25. sij
Odgovor korisniku/ci @stjepang
This is really well written; very cool read!
Reply Retweet Označi sa "sviđa mi se"
Saoirse Shipwreckt 25. sij
Odgovor korisniku/ci @stjepang
I love this!
Reply Retweet Označi sa "sviđa mi se"
Marshall Bowers 25. sij
Odgovor korisniku/ci @stjepang @yoshuawuyts
Wow, I was just wondering how to do this today!
Reply Retweet Označi sa "sviđa mi se"
nasa@技術書店8Day2お11 25. sij
Odgovor korisniku/ci @stjepang
This is what I wanted to read. Thanks.
Reply Retweet Označi sa "sviđa mi se"
Amanjeev Sethi 25. sij
Odgovor korisniku/ci @stjepang
subscribed!
Reply Retweet Označi sa "sviđa mi se"
Natanael Mojica 25. sij
Odgovor korisniku/ci @stjepang
Thank you, It is amazing!!!
Reply Retweet Označi sa "sviđa mi se"