TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Go-style concurrency in C

9 点作者 xvirk将近 10 年前

1 comment

buserror将近 10 年前
Ohh I like that; look pretty nice, lightweight, the &#x27;channels&#x27; look quite handy. The only &#x27;downside&#x27; I can think of is the lack of namespacing for the function names and such.. I would have liked a co_* for coroutines, ch_* for channels etc.. Of course that would break the &#x27;Go&#x27; name mapping...<p>It&#x27;s a bit sad to see that these sort of language extension constructs have to be done with preprocessors hacks and stuff, while C11 had a chance of seriously improving C, and instead added all kind of useless crud...