News for hackers. Stuff that matters.
Re:Some Thoughts on Zig by masklinn on Friday July 22, 2022 @09:02AM (#32191457)
> other popular languages which has channels as a core language feature

That’s because other languages did not need channels as a core language features.

Go does for the same reasons it needs e.g. hashmaps or append as “core language features”: no generics.

As far as I could see, there was one cool thing Go brought to the table, and it’s select {}. That was (and still is, I think) pretty uncommon, though not unheard of (Erlang’s receive is similar, though it has different capabilities owing to different language semantics).

There are no comments on this comment yet.