Stackless Python的替代品? [英] Alternatives to Stackless Python?

查看:60
本文介绍了Stackless Python的替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近很兴奋无可比拟的
python必须提供的可能性

http://harkal.sylphis3d.com/2005/08/...ckless-python/

然后发现stackless.com上最新版本的无堆栈

用于python 2.2我想知道是否

Stackless已死/下降,若然,今天有没有可行的

替代品?


我发现LGT http://lgt.berlios.de/ 但似乎没有好像

NanoThreads模块具有与无堆栈相同的功能。

解决方案

On Tue,2005年9月20日08:50:44 -0700,< a href =mailto:bi ******** @ gmail.com> bi ******** @ gmail.com 写道:

最近对无框架无法提供的可能性感到兴奋
http://harkal.sylphis3d.com/2005/08/...ckless-python/
然后发现stackless.com上最新版本的stackless可用于python 2.2我想知道是否Stackless已经死亡/衰退如果是这样,是否存在今天存在的任何可行的替代方案?




好​​吧,它没有死,最近的版本是针对python 2.3

无堆栈的开发者,Christian Tismer,是PyPy项目的主要开发人员之一。 ( http://codespeak.net/pypy

For这个原因,有一个非常好的机会,无渣背后的想法将存活下来:-)。

访问 www.stackless.com 了解更多信息。

---

Stephan


>我发现LGT http://lgt.berlios.de/ 但它没有似乎

NanoThreads模块具有与无堆栈相同的功能。




您正在寻找Stackless的哪些特定功能,即< NanoThreads缺少


Sw。


si ********** @ gmail.com 写道:

我发现LGT http://lgt.berlios.de/ 但它没有''似乎
NanoThreads模块具有与无堆栈相同的功能。



你在寻找Stackless的哪些特定功能,NanoThreads缺少什么?




虽然我不能代表OP,但是不是这样的话题吗? br />
Stackless(对不起,不知道他们真正叫什么)是真的

线程无论多远都可以切换上下文
他们可能会在一组嵌套调用中降低
?并且NanoThreads只是简单的生成器,这意味着你可以只用顶部

级别转换上下文,并使用yield语句?


我不知道OP想要什么,但我可以想象这将是一个非常基本的区别(如果我对Stackless是正确的话)。

-Peter


After recently getting excited about the possibilities that stackless
python has to offer
(http://harkal.sylphis3d.com/2005/08/...ckless-python/)
and then discovering that the most recent version of stackless
available on stackless.com was for python 2.2 I am wondering if
Stackless is dead/declining and if so, are there any viable
alternatives that exist today?

I found LGT http://lgt.berlios.de/ but it didn''t seem as if the
NanoThreads module had the same capabilites as stackless.

解决方案

On Tue, 20 Sep 2005 08:50:44 -0700, bi********@gmail.com wrote:

After recently getting excited about the possibilities that stackless
python has to offer
(http://harkal.sylphis3d.com/2005/08/...ckless-python/)
and then discovering that the most recent version of stackless
available on stackless.com was for python 2.2 I am wondering if
Stackless is dead/declining and if so, are there any viable
alternatives that exist today?



Well, it''s not dead and the last recent version is for python 2.3
The developer of stackless, Christian Tismer, is one of the main
developers of the PyPy project. (http://codespeak.net/pypy)
For this reason, there is an extremely good chance that the ideas
behind stackless will survive :-) .
Visit www.stackless.com for further info.
---
Stephan


> I found LGT http://lgt.berlios.de/ but it didn''t seem as if the

NanoThreads module had the same capabilites as stackless.



What specific capabilities of Stackless are you looking for, that are
missing from NanoThreads?
Sw.


si**********@gmail.com wrote:

I found LGT http://lgt.berlios.de/ but it didn''t seem as if the
NanoThreads module had the same capabilites as stackless.



What specific capabilities of Stackless are you looking for, that are
missing from NanoThreads?



While I can''t speak for the OP, isn''t it the case that the threadlets in
Stackless (sorry, don''t know what they are really called) are true
threads in the sense of being able to switch contexts no matter how far
down in a set of nested calls they might be? And that NanoThreads are
simply generators, which means you can switch contexts only at the top
level, with a yield statement?

I don''t know what the OP wants, but I could imagine that would be a
pretty fundamental difference (if I''m right about Stackless).

-Peter


这篇关于Stackless Python的替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆