Re:Async rust – are we doing it all wrong?
by earthling8118 on Thursday July 20, 2023 @11:02AM
(#36801538)
That argument doesn't hold up. Adding `#[tokio::main]` is opting in because it is that extra something that has to be done. Adding that line is opting in to the multithreaded runtime.
Doing something extra to get a behavior different than default is the definition of opt-out my friend.