News for hackers. Stuff that matters.
Re:Zig: Upcoming Release Postponed Two More Weeks and Lacks ... by continuational on Wednesday July 19, 2023 @04:41PM (#36792989)
* * *
Re:Zig: Upcoming Release Postponed Two More Weeks and Lacks ... by kprotty on Thursday July 20, 2023 @09:28AM (#36800123)
Zig async doesn't change semantics of how things are called. If something is called sequentially, it will execute sequentially with respect to itself, with or without async.
Re:Zig: Upcoming Release Postponed Two More Weeks and Lacks ... by kissgyorgy on Thursday July 20, 2023 @10:52AM (#36801355)
It doesn't change the semantics, the documentation says: https://ziglang.org/documentation/0.10.1/#Async-Functions

"Async functions can be called the same as normal functions." Only when you have an event loop, the order async functions are running might be different because of the scheduling, but everything else is the same.