4 ms·
Go offers thread as channels directly expressed in the language Syntax, not as a semantic construct on top of them. That is of course attractive for it's simpli
by davidpelaez 11y ago
Go offers thread as channels directly expressed in the language Syntax, not as a semantic construct on top of them. That is of course attractive for it's simplicity, but Rust offer a lower level alternative. I don't have much experience with Rust, but maybe a clever macro could be use to express in a higher level the type of things you'd use go channels for.
Going back to my proposed question, maybe people can prefer golang for this syntactic benefit but I don't think that addresses the larger set of differences that usually separate them.