Oddbean new post about | logout
 @e06c1f25 it's entirely possible to "avoid async rust as much as possible" if you're not writing primarily networked apps (or other kinds of apps that are asynchronous by nature). I should actually write a guide about that: if you don't really have performance constraints (most don't), it's really easy to pull off. 
 @0d50376e i'd love to read that article! when i talk about avoiding async rust i'm talking about programs that interact with networking (like for example a program that captures packets) but aren't very performance sensitive 
 @e06c1f25 yeah exactly! I mean that use case is really just "build a current_thread tokio executor from one of your threads and move a channel sender into it, then from the sync side use blocking_recv" (see https://docs.rs/tokio/latest/tokio/sync/mpsc/index.html#communicating-between-sync-and-async-code)

but yeah! 
 @0d50376e i did not understand any of those words but maybe if you write a post about it I will :)