[pypy-commit] extradoc extradoc: talk as it went

fijal noreply at buildbot.pypy.org
Fri Nov 16 15:52:58 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: extradoc
Changeset: r4919:5f0930786eaa
Date: 2012-11-16 15:51 +0100
http://bitbucket.org/pypy/extradoc/changeset/5f0930786eaa/

Log:	talk as it went

diff --git a/talk/rupy2012/talk/examples/interpreter.py b/talk/rupy2012/talk/examples/interpreter.py
--- a/talk/rupy2012/talk/examples/interpreter.py
+++ b/talk/rupy2012/talk/examples/interpreter.py
@@ -18,6 +18,13 @@
 class Integer(BaseObject):
     def __init__(self, v):
         self.intval = v
+
+
+    def compare(self, other):
+        if isinstance(other, Integer):
+            return cmp(self.intval, other.intval)
+        else:
+            ...
     
     def add(self, right):
         if isinstance(right, Integer):
diff --git a/talk/rupy2012/talk/talk.pdf b/talk/rupy2012/talk/talk.pdf
index 9340411c09a67d89bace98845a3074faf4846e6c..9f979302f15b8220f55a6457c15129978f8505e8
GIT binary patch

[cut]

diff --git a/talk/rupy2012/talk/talk.rst b/talk/rupy2012/talk/talk.rst
--- a/talk/rupy2012/talk/talk.rst
+++ b/talk/rupy2012/talk/talk.rst
@@ -7,7 +7,7 @@
 Who am I?
 ---------
 
-* Maciej Fijałkowski (yes this is unicode)
+* Maciej Fijałkowski
 
 * PyPy core developer for I don't remember
 
@@ -26,6 +26,23 @@
 
 * how Python implementations work
 
+|pause|
+
+* also mostly applies to ruby, javascript, etc.
+
+Why does it matter?
+-------------------
+
+* if you want speed, you code in C/C++
+
+|pause|
+
+* I don't like the answer, I like Python
+
+|pause|
+
+* or a dynamic language of your choice
+
 How does CPython work?
 ----------------------
 
@@ -189,6 +206,11 @@
 
 * http://baroquesoftware.com
 
+Extra slides
+------------
+
+* knowledge that will hopefully be not needed some time soon
+
 Few words about garbage collection
 ----------------------------------
 


More information about the pypy-commit mailing list