TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

BrainFuck inspired scheduler successfully replaced the Python GIL

103 pointsby dryicerxabout 15 years ago

5 comments

janzerabout 15 years ago
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 未加载
ashabout 15 years ago
The title is wrong. Brain Fuck scheduler is not related to brainfuck language.
评论 #1221269 未加载
mahmudabout 15 years ago
<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 未加载
viraptorabout 15 years ago
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 未加载
Snark7about 15 years ago
This is related to Python 3.2 only. In other words, this is not noteworthy.
评论 #1220303 未加载