[pypy-svn] r76237 - pypy/extradoc/talk/ep2010/talk

antocuni at codespeak.net antocuni at codespeak.net
Thu Jul 15 16:07:51 CEST 2010


Author: antocuni
Date: Thu Jul 15 16:07:50 2010
New Revision: 76237

Modified:
   pypy/extradoc/talk/ep2010/talk/talk.rst
Log:
update to pypy 1.3. Restructure the talk, bring the old part 3 (the live demo)
inside part 1. We need to decided whether we want to keep the demo, though.



Modified: pypy/extradoc/talk/ep2010/talk/talk.rst
==============================================================================
--- pypy/extradoc/talk/ep2010/talk/talk.rst	(original)
+++ pypy/extradoc/talk/ep2010/talk/talk.rst	Thu Jul 15 16:07:50 2010
@@ -12,7 +12,8 @@
 
 - Overview of the JIT
 
-- Demo: how to use PyPy right now
+- ``cpyext``: load CPython extensions in PyPy!
+
 
 
 Part 0: What is PyPy? :-)
@@ -40,16 +41,26 @@
 - What's new and status update
 
 
-What's new in PyPy 1.3
------------------------
+What's new in PyPy 1.2, 1.3
+---------------------------
+
+- 1.2: released on March 12th, 2010
+
+  * Main theme: speed
+
+  * JIT compiler
+
+  * speed.pypy.org
+
+- 1.3: released on June 26th, 2010
 
-- Released on March 12th, 2010 XXX
+  * Stability: lot of bugfixes, thanks for the feedback :-)
 
-- Main theme: speed
+  * More speed!
 
-- JIT compiler
+  * cpyext
 
-- speed.pypy.org
+- Binaries for Linux, Windows, Mac
 
 - Ubuntu packages
 
@@ -67,20 +78,6 @@
 .. image:: pypy-vs-psyco.png
    :scale: 35
 
-Speed: Demo
------------
-
-- Django application
-
-- Mandelbrot fractal
-
-  * fished randomly on the net :-)
-
-- Run both on CPython and PyPy
-
-  * django trunk!
-
-
 
 What works on PyPy
 -------------------
@@ -114,7 +111,7 @@
 
 |end_scriptsize|
 
-  * **ctypes**
+  * ctypes
 
 
 What does not work on PyPy
@@ -140,61 +137,135 @@
 
 |pause|
 
-- Extension modules |pause|
+- Extension modules
 
-  * really?
+  * try cpyext!
 
-  * drum roll...
 
 
-cpyext
-------
+Speed: Demo
+-----------
 
-- CPython extension modules in PyPy
+- Django application
 
-- ``pypy-c setup.py build``
+- Mandelbrot fractal
 
-- still beta
+  * fished randomly on the net :-)
 
-- not 100% of CPython API is supported
+- Run both on CPython and PyPy
 
-- not included in PyPy 1.2
+  * django trunk!
 
-- Known to work:
 
-  * wxPython (after a patch)
+Mandelbrot demo
+---------------
 
-  * _sre
+- Works purely on PyPy
 
-  * PyCrypto
+- Not always the case
 
-  * PIL
+  * missing extension modules (cpyext mitigates the problem)
 
+  * libraries that rely on CPython details
+    
+  * ...
 
-wxPython on PyPy (1)
----------------------
+- clear performance-critical part
 
-.. image:: wxpython1.png
-   :scale: 30
 
-wxPython on PyPy (2)
----------------------
+CPython and PyPy side by side
+------------------------------
 
+- CPython: runs the main application
 
-.. image:: wxpython2.png
-   :scale: 30
+- PyPy: subprocess, runs only the hotspots
+
+- How do they communicate?
+
+- execnet
 
+  * **The Ring of Python**, Holger Krekel, 9:45
 
-PyPy 1.2.1
-----------
+  * oups, too late :-)
+
+
+Rendering (1)
+---------------
+
+|example<| Mandelbrot |>|
+|small|
+::
+
+    def render(request):
+        w = int(request.GET.get('w', 320))
+        h = int(request.GET.get('h', 240))
+
+        from py_mandel import mandelbrot
+        img = mandelbrot(w, h)
+
+        return HttpResponse(img, content_type="image/bmp")
+
+|end_small|
+|end_example|
+
+
+Rendering (2)
+-------------
+
+|example<| Mandelbrot on PyPy |>|
+|small|
+::
+
+    def pypy_render(request):
+        w = int(request.GET.get('w', 320))
+        h = int(request.GET.get('h', 240))
+
+        channel = pypy.remote_exec("""
+            from py_mandel import mandelbrot
+            w, h = channel.receive()
+            img = mandelbrot(w, h)
+            channel.send(img)
+        """)
+        channel.send((w, h))
+        img = channel.receive()
+
+        return HttpResponse(img, content_type="image/bmp")
+
+|end_small|
+|end_example|
+
+execnet setup
+-------------
+
+|example<| At startup |>|
+|small|
+::
+
+    import execnet
+    mygroup = execnet.Group()
+    pypy = mygroup.makegateway("popen//python=pypy-c")
+    pypy.remote_exec("""
+        import sys
+        import os
+        os.chdir("mandelbrot")
+        sys.path.insert(0, '')
+    """)
+
+|end_small|
+|end_example|
 
-- Coming soon
 
-- Many bugfixes
+Demo
+----
+
+
+Benchmarks
+----------
+
+.. image:: demo-graph.pdf
+   :scale: 45
 
-  * 27 issues reported after release of 1.2
 
-- beta version of cpyext
 
 
 Part 2: Just-in-Time compilation
@@ -389,116 +460,47 @@
 Part 3
 ------
 
-How to use PyPy right now
-
-
-Mandelbrot demo
----------------
-
-- Works purely on PyPy
-
-- Not always the case
-
-  * missing extension modules (cpyext mitigates the problem)
-
-  * libraries that rely on CPython details
-    
-  * ...
-
-- clear performance-critical part
-
-
-CPython and PyPy side by side
-------------------------------
-
-- CPython: runs the main application
-
-- PyPy: subprocess, runs only the hotspots
-
-- How do they communicate?
-
-- execnet
-
-  * **The Ring of Python**, Holger Krekel, 9:00
-
-  * oups, too late :-)
-
-
-Rendering (1)
----------------
-
-|example<| Mandelbrot |>|
-|small|
-::
+cpyext
 
-    def render(request):
-        w = int(request.GET.get('w', 320))
-        h = int(request.GET.get('h', 240))
+cpyext
+------
 
-        from py_mandel import mandelbrot
-        img = mandelbrot(w, h)
+- CPython extension modules in PyPy
 
-        return HttpResponse(img, content_type="image/bmp")
+- ``pypy-c setup.py build``
 
-|end_small|
-|end_example|
+- still beta
 
+- not 100% of CPython API is supported
 
-Rendering (2)
--------------
+- not included in PyPy 1.2
 
-|example<| Mandelbrot on PyPy |>|
-|small|
-::
+- Known to work:
 
-    def pypy_render(request):
-        w = int(request.GET.get('w', 320))
-        h = int(request.GET.get('h', 240))
+  * wxPython (after a patch)
 
-        channel = pypy.remote_exec("""
-            from py_mandel import mandelbrot
-            w, h = channel.receive()
-            img = mandelbrot(w, h)
-            channel.send(img)
-        """)
-        channel.send((w, h))
-        img = channel.receive()
+  * _sre
 
-        return HttpResponse(img, content_type="image/bmp")
+  * PyCrypto
 
-|end_small|
-|end_example|
+  * PIL
 
-execnet setup
--------------
 
-|example<| At startup |>|
-|small|
-::
+wxPython on PyPy (1)
+---------------------
 
-    import execnet
-    mygroup = execnet.Group()
-    pypy = mygroup.makegateway("popen//python=pypy-c")
-    pypy.remote_exec("""
-        import sys
-        import os
-        os.chdir("mandelbrot")
-        sys.path.insert(0, '')
-    """)
+.. image:: wxpython1.png
+   :scale: 30
 
-|end_small|
-|end_example|
+wxPython on PyPy (2)
+---------------------
 
 
-Demo
-----
+.. image:: wxpython2.png
+   :scale: 30
 
 
-Benchmarks
-----------
 
-.. image:: demo-graph.pdf
-   :scale: 45
 
 
 Contact / Q&A 



More information about the Pypy-commit mailing list