podcasts.apple.com/us/podcast/r...
podcasts.apple.com/us/podcast/r...
crates.io/crates/priact
priact implements the actor pattern (based on the Swift implementation) in Rust and adds a priority queue for your actors methods to respect the urgency you need for them.
crates.io/crates/priact
priact implements the actor pattern (based on the Swift implementation) in Rust and adds a priority queue for your actors methods to respect the urgency you need for them.
I had the honor of presenting some of our learnings from this group at RustConf in Montreal this year.
youtu.be/EY2KT0QZnkg?...
I had the honor of presenting some of our learnings from this group at RustConf in Montreal this year.
youtu.be/EY2KT0QZnkg?...
I posted this code the other day showing how you can do some sync setup before an asynchronous block to initialize things needed by the future.
Many times, any fn() -> impl Future can be replaced by an async fn. Not true here.
Explanation in 🧵
I posted this code the other day showing how you can do some sync setup before an asynchronous block to initialize things needed by the future.
Many times, any fn() -> impl Future can be replaced by an async fn. Not true here.
Explanation in 🧵
For example, the code in this image might seem like it should panic at first glance because expect() is called before start_invocation_loop() initializes the OnceCell but it doesn't.
Explanation in 🧵
For example, the code in this image might seem like it should panic at first glance because expect() is called before start_invocation_loop() initializes the OnceCell but it doesn't.
Explanation in 🧵