[pypy-commit] extradoc extradoc: various cosmetic changes

antocuni noreply at buildbot.pypy.org
Sun Jul 1 01:31:24 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r4240:c7619d2eb844
Date: 2012-07-01 01:31 +0200
http://bitbucket.org/pypy/extradoc/changeset/c7619d2eb844/

Log:	various cosmetic changes

diff --git a/talk/ep2012/stm/stylesheet.latex b/talk/ep2012/stm/stylesheet.latex
--- a/talk/ep2012/stm/stylesheet.latex
+++ b/talk/ep2012/stm/stylesheet.latex
@@ -1,4 +1,5 @@
 \usetheme{Boadilla}
+\usecolortheme{whale}
 \setbeamercovered{transparent}
 \setbeamertemplate{navigation symbols}{}
 
diff --git a/talk/ep2012/stm/talk.rst b/talk/ep2012/stm/talk.rst
--- a/talk/ep2012/stm/talk.rst
+++ b/talk/ep2012/stm/talk.rst
@@ -7,11 +7,17 @@
 PyPy at EuroPython
 ------------------
 
+|scriptsize|
+
 ::
 
   fijal at helmut:~/src/extradoc/talk$ cd ep20
-  ep2004-pypy/ ep2006/      ep2008/      ep2010/      ep2012/      
-  ep2005/      ep2007/      ep2009/      ep2011/ 
+
+  ep2004-pypy/ ep2006/      ep2008/      ep2010/      ep2012/
+
+  ep2005/      ep2007/      ep2009/      ep2011/
+
+|end_scriptsize|
 
 |pause|
 
@@ -21,12 +27,18 @@
 Software archeology
 -------------------
 
-"""A foreword of warning about the JIT of PyPy as of March 2007: single
-functions doing integer arithmetic get great speed-ups; about anything
-else will be a bit slower with the JIT than without.  We are working
-on this - you can even expect quick progress, because it is mostly a
-matter of adding a few careful hints in the source code of the Python
-interpreter of PyPy."""
+|small|
+
+   "single functions doing integer arithmetic get great speed-ups; about
+   anything else will be a bit slower with the JIT than without.  We are
+   working on this - you can even expect quick progress, because it is mostly
+   a matter of adding a few careful hints in the source code of the Python
+   interpreter of PyPy."
+
+                                (status of the JIT of PyPy as of March 2007)
+
+                                
+|end_small|
 
 Software archeology
 -------------------
@@ -47,39 +59,35 @@
 
   - ...
 
-Current status
---------------
+PyPy 1.9: current status
+------------------------
 
-* PyPy 1.9
+* Faster
 
-  - **1.7x** faster than 1.5 (a year ago)
+  - **1.7x** than 1.5 (a year ago)
 
-  - **2.2x** faster than 1.4
+  - **2.2x** than 1.4
 
-  - **5.5x** faster than CPython
-
-* much more "PyPy-friendly" programs
+  - **5.5x** than CPython
 
 * Implements Python 2.7.2
 
-* packaging: Debian, Ubuntu, Fedora, Homebrew, Gentoo, ArchLinux, ...
-  (thanks to all the packagers)
+  - py3k in progress (see later)
 
-* Windows (32bit only)
+* Many more "PyPy-friendly" programs
 
-* cpyext
+* Packaging
 
-  - C extension compatibility module
+  - |scriptsize| Debian, Ubuntu, Fedora, Homebrew, Gentoo, ArchLinux, ... |end_scriptsize|
+
+  - |scriptsize| Windows (32bit only), OS X |end_scriptsize|
+
+* C extension compatibility
 
   - from "alpha" to "beta"
 
   - runs (big part of) **PyOpenSSL** and **lxml**
 
-* py3k in progress
-
-  - see later
-
-  - 2.7 support never going away
 
 PyPy organization
 -----------------
@@ -113,7 +121,7 @@
 
 * Glue language
 
-   - integrating with C is "easy"
+  - integrating with C is "easy"
 
 Let's talk about PyPy
 ---------------------
@@ -159,6 +167,8 @@
 ---------
 
 .. image:: standards.png
+   :scale: 60%
+   :align: center
 
 Calling C landscape
 -------------------
@@ -173,20 +183,26 @@
 
 * CFFI (our new thing)
 
-CFFI slide
+CFFI
 ----------
 
-some example code::
+|scriptsize|
+|example<| Example |>|
 
-  >>> from cffi import FFI
-  >>> ffi = FFI()
-  >>> ffi.cdef("""
-  ...     int printf(const char *format, ...);
-  ... """)
-  >>> C = ffi.dlopen(None)
-  >>> arg = ffi.new("char[]", "world")
-  >>> C.printf("hi there, %s!\n", arg)
-  hi there, world!
+  .. sourcecode:: pycon
+
+   >>> from cffi import FFI
+   >>> ffi = FFI()
+   >>> ffi.cdef("""
+   ...     int printf(const char *format, ...);
+   ... """)
+   >>> C = ffi.dlopen(None)
+   >>> arg = ffi.new("char[]", "world")
+   >>> C.printf("hi there, %s!\n", arg)
+   hi there, world!
+
+|end_example|
+|end_scriptsize|
 
 STM
 ---


More information about the pypy-commit mailing list