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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A followup on Concurrency within Python

12 点作者 mk大约 17 年前

2 条评论

ghiotion大约 17 年前
&#62; I believe Python programmers want to write Python - not Java, nor .Net. What attracts us to Python is a clean syntax. If I want concurrency in Python, I don't want to have to call into java.util.concurrent.<p>A-freakin-men. Remove the GIL! (I know, I know, easier said than done).
评论 #139412 未加载
sah大约 17 年前
Concurrency doesn't have to mean threading. I've used greenlet-based coroutines (<a href="http://pypi.python.org/pypi/greenlet" rel="nofollow">http://pypi.python.org/pypi/greenlet</a>) for concurrency in large projects. They work with the GIL, and I find it easier to write correct coroutine-based programs.