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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

BrainFuck inspired scheduler successfully replaced the Python GIL

103 点作者 dryicerx大约 15 年前

5 条评论

janzer大约 15 年前
To clarify a little, this patch does not eliminate the GIL it just schedules the next thread to acquire the GIL using the BFS scheduling algorithm.<p>Also and perhaps more importantly this has not been incorporated into any version of python. It is just a patch on the bug tracker and realistically I doubt it has much chance of being accepted.
评论 #1220316 未加载
评论 #1220573 未加载
评论 #1220576 未加载
ash大约 15 年前
The title is wrong. Brain Fuck scheduler is not related to brainfuck language.
评论 #1221269 未加载
mahmud大约 15 年前
<i>The scheduler is a simplified implementation of the recent kernel Brain F</i><i>k Scheduler by the Linux hacker Con Kolivas</i><p>Not as fun now is it? Kolivas is a leader on scheduling, he can attribute his hacks to whatever joke language out there and that wont make them any less stellar.
评论 #1220400 未加载
viraptor大约 15 年前
As far as I understand, it just changes the way thread scheduling works, but doesn't make Python "properly multithreaded". That means it's still only one active non-native-extension thread running at any time. Could someone confirm it?<p>Edit: I guess janzer confirmed this at posting at the same time.
评论 #1220301 未加载
评论 #1220740 未加载
Snark7大约 15 年前
This is related to Python 3.2 only. In other words, this is not noteworthy.
评论 #1220303 未加载