Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s not the same situation because with async/await you end up with two versions of every function or library (see Rust’s std and crates like async_std, Node’s readFile and readFileSync). In Zig you always pass the “io” parameter to do I/O and you don’t have to duplicate everything.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: