News for hackers. Stuff that matters.
Re:Rust without the async (hard) part by mamcx on Thursday June 09, 2022 @12:37PM (#31683389)
No, this not work well.

The highly infectious nature of async means you need to do that A LOT.

ie: reverse ALL things await.

That is too much. I refactor all my codebase (a huge refactor!) because this.

Re:Rust without the async (hard) part by jen20 on Thursday June 09, 2022 @02:06PM (#31684680)
What would you prefer the alternative to be? Library authors to do dual implementations of everything?
Re:Rust without the async (hard) part by slightknack on Thursday June 09, 2022 @02:15PM (#31684811)
A language with a function-color-agnostic effect system, generic over asynchronicity?
Re:Rust without the async (hard) part by Georgelemental on Thursday June 09, 2022 @04:43PM (#31686598)