GitHub user kassane edited a comment on the discussion: idea: OpenDAL Zig 
Binding

@Xuanwo , hi again! 

Based on #1741

### How does zig async work?

Currently zig stage2 does not have async support implemented. (Zig version 
0.11.x or higher are stage2 only).

Stage2 (self-hosting zig compiler)
[WIP]https://github.com/ziglang/zig/issues/6025

Async (stage1 - old zig compiler written in C++).
https://kristoff.it/blog/zig-colorblind-async-await/

**Note:** Zig version 0.10.x has both zig_backends (stage1 & stage2) - default 
stage2 (switch to stage1 on build `-fstage1`).
Zig 0.9.x, default stage1 (switch to stage2 on build `-fno-stage1`).

By the way, out of curiosity, a proposal for an alternative to libUV written in 
Zig is being developed, capable of also being used in C projects and other 
languages ​​with FFI.
https://github.com/mitchellh/libxev

GitHub link: 
https://github.com/apache/incubator-opendal/discussions/1509#discussioncomment-5561981

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to