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

The new (unreleased right now, in the nightly builds) std.Io interface in Zig maps quite nicely to the concurrency constructs in Go. The go keyword maps to std.Io.async to run a function asynchronously. Channels map to the std.Io.Queue data structure. The select keyword maps to the std.Io.select function.




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

Search: