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

Your comment is downvoted as I write this, but I kind of think Zig's new design agrees with you. It uses the terms "async" and "await", but the API design looks more similar to traditional threading (like Rust's thread::spawn and join() APIs). With the fun distinction that you can choose whether your program uses actual threads, or coroutines, or just runs everything synchronously without changing any of your code.


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

Search: