[pypy-commit] extradoc extradoc: Add more slides

rguillebert noreply at buildbot.pypy.org
Mon Sep 29 22:22:01 CEST 2014


Author: Romain Guillebert <romain.py at gmail.com>
Branch: extradoc
Changeset: r5415:1d748d9bdbc8
Date: 2014-09-29 22:20 +0200
http://bitbucket.org/pypy/extradoc/changeset/1d748d9bdbc8/

Log:	Add more slides

diff --git a/talk/pyconie2014/talk.rst b/talk/pyconie2014/talk.rst
--- a/talk/pyconie2014/talk.rst
+++ b/talk/pyconie2014/talk.rst
@@ -1,3 +1,5 @@
+.. include:: beamerdefs.tx
+
 PyPy : A fast Python Virtual Machine
 ====================================
 
@@ -32,3 +34,43 @@
 
 .. image:: speed.png
    :scale: 37%
+
+Speed
+-----
+
+- Automatically generated tracing just-in-time compiler
+
+- Generates efficient machine code based on runtime observations
+
+- Removes overhead when unnecessary
+
+- But these Python features remain available (pdb)
+
+RPython
+-------
+
+- Subset of Python
+
+- Made for writting virtual machines
+
+- Takes care of garbage collection and JIT compilation
+
+- A VM written in RPython doesn't have to know about the garbage collector
+
+- Minimal help from the VM is needed in order to have an efficient JIT (a few annotations)
+
+Demo
+----
+
+- Real-time edge detection
+
+How
+---
+
+- Removes boxing, integer objects become machine integers
+
+- Specializes trace on types, helps speed-up method lookup
+
+- If the type of the object is different from the type in the trace, go back to the interpreter : "guard failure"
+
+- If a guard fails too many times, optimize the trace for the other types frequently encountered


More information about the pypy-commit mailing list