News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by kevingadd on Friday September 08, 2023 @08:22PM (#37440960)
You can call .Wait on the Task it returns :)
Re:Async Rust Is A Bad Language by randyrand on Friday September 08, 2023 @08:37PM (#37441037)
Right, but now you are forced to convert the calling function to async.

u32 / float does not have the problem. It does not "bubble up", unless you want it to.

Re:Async Rust Is A Bad Language by kprotty on Saturday September 09, 2023 @01:19PM (#37447731)
no, .Wait in C# or block_on in Rust keep the caller sync while evaluating the async callee, preventing the "bubble up".