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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Problem with Threads (2006) [pdf]

80 点作者 DonbunEf7大约 7 年前

2 条评论

jgtrosh大约 7 年前
This piece seems to have predicted a very active field in everyday software development since then.<p>What are the alternative paradigms that have actually become common use? Coroutines, async&#x2F;await, that&#x27;s what I hear about online but what are others? I&#x27;ve seen people who touted zmq-communicating-processes with standard patterns as the solution to all problems, and I&#x27;m happy not to have to maintain the results.<p>Have we effectively “solved” the concurrency problem, and if so what&#x27;s left as an exercise for the future?
评论 #16999035 未加载
评论 #17000277 未加载
评论 #16999951 未加载
评论 #16999130 未加载
评论 #16999700 未加载
评论 #16999304 未加载
rectang大约 7 年前
I&#x27;ve always liked section 3 of this paper, specifically the concept that &quot;infinite interleavings&quot; make threads executing in parallel non-deterministic and difficult to reason about. That gets to the heart of why threaded programs are so prone to heisenbugs.<p><i>&quot;They make programs absurdly nondeterministic, and rely on programming style to constrain that nondeterminism to achieve deterministic aims.&quot;</i><p>You can&#x27;t write an infinite number of test cases for all those interleavings, and it requires hard thought to suss out where any problems might lie.
评论 #17000247 未加载
评论 #16998963 未加载
评论 #16998903 未加载
评论 #17000469 未加载