A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045142.html below:

[Python-Dev] Stackless Python

[Python-Dev] Stackless Python [Python-Dev] Stackless Python"Martin v. Löwis" martin at v.loewis.de
Wed Jun 2 13:20:55 EDT 2004
Bob Ippolito wrote:
>> However, JCSP uses java.lang.Threads to implement concurrency. So they
>> are completely unlike Stackless' tasklets in their implementation
>> strategy.
> 
> 
> So what, if the API is the same?

If you don't have a problem with that, I don't either.

> Using the stack or not is an implementation detail, what matters is 
> having more control over the flow of your programs in a reasonably 
> efficient manner.  It just so happens that the recursive evaluation in 
> CPython uses the stack in such a way that makes these kind of constructs 
> impossible, so it needed to be changed for Stackless.

That is simply not true. It is possible and straight-forward to
implement Stackless' tasklets and channels on top of the standard
Python, with no need to change the interpreter proper.

Regards,
Martin


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4