Author: Christian Tismer  <[email protected]>
Branch: extradoc
Changeset: r4267:c7058d020706
Date: 2012-07-03 15:59 +0200
http://bitbucket.org/pypy/extradoc/changeset/c7058d020706/

Log:    moving forward

diff --git a/talk/ep2012/stackless/slp-talk.pdf 
b/talk/ep2012/stackless/slp-talk.pdf
index 
2c75c65e61f2fd5e4a1ffa2986844c62209040f4..52ab702a7f775789f3adc37521d9eb6c3df36f31
GIT binary patch

[cut]

diff --git a/talk/ep2012/stackless/slp-talk.rst 
b/talk/ep2012/stackless/slp-talk.rst
--- a/talk/ep2012/stackless/slp-talk.rst
+++ b/talk/ep2012/stackless/slp-talk.rst
@@ -4,6 +4,34 @@
 The Story of Stackless Python
 ============================================
 
+What is Stackless?
+-------------------
+
+* *Stackless is a Python version that does not use the C stack*
+
+|pause|
+
+  - really? naah
+  
+|pause|
+
+* Stackless is a Python version that does not keep state on the C stack
+
+  - the stack *is* used but
+  
+  - cleared between function calls
+
+|pause|
+  
+* Remark:
+
+  - theoretically. In practice...
+  
+  - ... it is reasonable 80 % of the time
+  
+  - we come back to this!
+
+
 What is Stackless about?
 -------------------------
 
@@ -15,7 +43,7 @@
 
 |pause|
 
-* adds a single module
+* adds a single builtin module
 
 |pause|
 
@@ -34,7 +62,7 @@
 * is like an extension
 
   - but, sadly, not really
-  
+  - stackless **must** be builtin  
   - **but:** there is a solution...
 
 
@@ -65,6 +93,7 @@
 
   - this will apply to tasklets as well
 
+
 Cooperative Multitasking ...
 -------------------------------
 
@@ -101,8 +130,8 @@
 |end_scriptsize|
 
 
-Cooperative Multitasking ...
--------------------------------
+... Cooperative Multitasking ...
+---------------------------------
 
 |scriptsize|
 |example<| |>|
@@ -157,16 +186,17 @@
 
 * greenlets are a subset of stackless
 
-  - there is no scheduler
+  - can partially emulate stackless
   
-  - can emulate stackless
+  - there is no builtin scheduler
+  
+  - technology quite close to Stackless 2.0
   
 |pause|
 
-* greenlets are about 5-10x slower to switch
-
+* greenlets are about 10x slower to switch context because
   using only hard-switching
-  
+    
 |pause|
 
 * but the main difference is ...
@@ -226,6 +256,23 @@
 |end_scriptsize|
 
 
+Greenlet vs. Stackless
+-----------------------
+
+* Greenlet is a pure extension module
+
+  - performance is good enough
+
+* Stackless can pickle program state
+
+  - stays a replacement of Python
+
+* Greenlet never can, as an extension
+
+* **easy installation** lets people select greenlet over stackless
+
+  - see the *eventlet*
+
 Software archeology
 -------------------
 
@@ -259,11 +306,19 @@
       
   * these 80 % can be *pickled*
 
+
+Status of Stackless Python
+---------------------------
+
+* mature
+
+* Python 2 and Python 3
+
 Thank you
 ---------
 
-* http://pypy.org/
+* http://www.stackless.com/
 
-* You can hire Antonio
+* You can hire me as a consultant
 
 * Questions?
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to