Programming with Stackless Python

IN THE HEAP

Author(s):

The Stackless extension brings lightweight processes to Python, opening a new style of programming with dynamic heap access.

Stackless Python by Christian Tismer extends the popular Python interpreter, adding elements that facilitate the development of scalable applications. Small, independent program sections are encapsulated in tasklets. These tasklets use channels to communicate in an approach reminiscent of the Erlang and Oz languages. The name Stackless refers to the encapsulated functions that tasklets allow to be swapped out from stack to heap (dynamic) memory. Data stored at this location can be accessed at any time, regardless of the order in which it arrived. Figure 1 shows how this approach can save memory, especially with parallel functions.

Read full article as PDF:

Stackless_Python.pdf  (208.92 kB)

Related content

comments powered by Disqus

Direct Download

Read full article as PDF:

Stackless_Python.pdf  (208.92 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia