[pypy-svn] r57877 - in pypy/extradoc/talk/pycon-uk-2008: jit status
hpk at codespeak.net
hpk at codespeak.net
Sat Sep 6 10:35:16 CEST 2008
Author: hpk
Date: Sat Sep 6 10:35:14 2008
New Revision: 57877
Added:
pypy/extradoc/talk/pycon-uk-2008/status/
pypy/extradoc/talk/pycon-uk-2008/status/author.latex
- copied, changed from r57875, pypy/extradoc/talk/pycon-uk-2008/jit/author.latex
pypy/extradoc/talk/pycon-uk-2008/status/makepdf
- copied, changed from r57875, pypy/extradoc/talk/pycon-uk-2008/jit/makepdf
pypy/extradoc/talk/pycon-uk-2008/status/status.txt (contents, props changed)
pypy/extradoc/talk/pycon-uk-2008/status/stylesheet.latex
- copied unchanged from r57875, pypy/extradoc/talk/pycon-uk-2008/jit/stylesheet.latex
Modified:
pypy/extradoc/talk/pycon-uk-2008/jit/makepdf
Log:
forking a status directory
fixing makepdf
Modified: pypy/extradoc/talk/pycon-uk-2008/jit/makepdf
==============================================================================
--- pypy/extradoc/talk/pycon-uk-2008/jit/makepdf (original)
+++ pypy/extradoc/talk/pycon-uk-2008/jit/makepdf Sat Sep 6 10:35:14 2008
@@ -6,7 +6,7 @@
# WARNING: to work, it needs this patch for docutils
# https://sourceforge.net/tracker/?func=detail&atid=422032&aid=1459707&group_id=38414
-python rst2beamer.py --stylesheet=stylesheet.latex --documentoptions=14pt pypy-vm.txt pypy-vm.latex || exit
+rst2beamer.py --stylesheet=stylesheet.latex --documentoptions=14pt pypy-vm.txt pypy-vm.latex || exit
sed 's/\\date{}/\\input{author.latex}/' -i pypy-vm.latex || exit
pdflatex pypy-vm.latex || exit
Copied: pypy/extradoc/talk/pycon-uk-2008/status/author.latex (from r57875, pypy/extradoc/talk/pycon-uk-2008/jit/author.latex)
==============================================================================
--- pypy/extradoc/talk/pycon-uk-2008/jit/author.latex (original)
+++ pypy/extradoc/talk/pycon-uk-2008/status/author.latex Sat Sep 6 10:35:14 2008
@@ -1,7 +1,7 @@
\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0}
\title[PyPy and The Art of Generating VMs]{PyPy and The Art of Generating Virtual Machines}
-\author[A. Cuni, M. Fijalkowski]{Antonio Cuni \and Maciej Fijalkowski\\Merlinux GmbH}
+\author[H. Krekel, M. Fijalkowski]{Holger Krekel \and Maciej Fijalkowski\\Merlinux GmbH}
\institute[PyCon UK 2008]{PyCon UK 2008 - Birmingham}
\date{September 13 2008}
Copied: pypy/extradoc/talk/pycon-uk-2008/status/makepdf (from r57875, pypy/extradoc/talk/pycon-uk-2008/jit/makepdf)
==============================================================================
--- pypy/extradoc/talk/pycon-uk-2008/jit/makepdf (original)
+++ pypy/extradoc/talk/pycon-uk-2008/status/makepdf Sat Sep 6 10:35:14 2008
@@ -6,7 +6,8 @@
# WARNING: to work, it needs this patch for docutils
# https://sourceforge.net/tracker/?func=detail&atid=422032&aid=1459707&group_id=38414
-python rst2beamer.py --stylesheet=stylesheet.latex --documentoptions=14pt pypy-vm.txt pypy-vm.latex || exit
-sed 's/\\date{}/\\input{author.latex}/' -i pypy-vm.latex || exit
-pdflatex pypy-vm.latex || exit
+BASE=status
+rst2beamer.py --stylesheet=stylesheet.latex --documentoptions=14pt $BASE.txt $BASE.latex || exit
+sed 's/\\date{}/\\input{author.latex}/' -i $BASE.latex || exit
+pdflatex $BASE.latex || exit
Added: pypy/extradoc/talk/pycon-uk-2008/status/status.txt
==============================================================================
--- (empty file)
+++ pypy/extradoc/talk/pycon-uk-2008/status/status.txt Sat Sep 6 10:35:14 2008
@@ -0,0 +1,242 @@
+======================
+PyPy status talk
+======================
+
+What this talk is about
+=======================
+
+* more details about recent developments
+
+* our plans for the near future
+
+* how we're going to achieve them
+
+* readers of our blog might know many of those things
+
+Production ready
+=====================
+
+* we worked a lot on running
+ existing applications on top of PyPy
+
+* sometimes requiring to change applications slightly
+
+* especially refcounting details tend to be a problem
+
+::
+
+ open('xxx', 'w').write('stuff')
+
+CTypes
+======
+
+* official way to have bindings to
+ external (C) libraries for PyPy
+
+* slow, but getting better
+
+* can handle i.e. pysqlite-ctypes, pyglet, pymunk or Sole Scion
+
+* ctypes is getting better as a side effect:
+
+ * errno handling
+
+ * bugfixes
+
+ * helper libraries
+
+* part of google sponsoring
+
+* demo
+
+CTypes configure
+================
+
+* our own small addition to general
+ CTypes usefulness
+
+* invokes C compiler for small details
+
+* can handle #defines, types, structure layout
+ etc.
+
+Sqlite
+======
+
+* part of cpython stdlib since 2.5
+
+* we use Gerhard Haering's CTypes version
+
+* works reasonably well after some fixes
+
+Django
+======
+
+* we run (almost) unmodified Django
+
+* only sqlite DB backend for now
+
+* cooperation with Django people to make sure
+ that Django 1.0 works with PyPy
+
+* http://www.djangoproject.com/
+
+Pylons
+======
+
+* worked almost out of the box once eggs
+ were working (1 day)
+
+* no SQLAlchemy yet, obscure problems
+ ahead
+
+* unmodified passes all tests
+
+* http://pylonshq.com/
+
+Twisted & Nevow
+===============
+
+* twisted have some glitches, but mostly works
+
+* nevow works
+
+* we don't support PyCrypto nor PyOpenSSL and we
+ won't anytime soon (if nobody contributes CTypes or rpython
+ versions)
+
+* http://twistedmatrix.com/
+
+Other software
+==============
+
+* BitTorrent
+
+* PyPy translation toolchain
+
+* various smaller things, templating engines,
+ most pure-python software
+
+Obscure details that people rely on
+===================================
+
+* non-string keys in __dict__ of types
+
+* exact naming of a list comprehension variable
+
+* relying on untested and undocumented private stuff
+ (zipimport._zip_directory_cache)
+
+* exact message matching in exception catching
+ code
+
+* refcounting details
+
+Conclusion on Compatibility
+============================
+
+* lessons learned: There is no feature obscure enough for people
+ not to rely on it. But PyPy can usually mimick CPython sufficiently.
+
+* pypy-c probably most compatible to CPython Interpreter
+
+* main blocker for running apps will be missing external modules
+
+Speed - comparison with CPython
+===============================
+
+* we're something between 0.8-2x slower than
+ CPython on various benchmarks.
+
+* gcbench - 0.8 (because of our faster GC)
+
+* steady but slow progress
+
+* we hope for our JIT to be a huge leap ahead
+
+Speed - decent GCs
+==================
+
+* faster than refcounting
+
+* better handling of unusual patterns
+
+* troubles with for example communication with C
+
+* details on different talk
+
+Speed - JIT generator
+=====================
+
+* not ready yet!
+
+* will be super fast
+
+* prolog prototype
+
+* psyco is a nice proof that this approach
+ would work
+
+Other backends
+==============
+
+* PyPy-jvm runs!
+
+* more integration between pypy-cli and .NET
+
+* general speed improvements
+
+* both backends are progressing - very slowly though
+
+* contributors wanted!
+
+Sandboxing
+==========
+
+* fully sandboxed python interpreter
+
+* all external calls to C goes via another
+ python process
+
+* special library for making custom
+ policies
+
+.. image:: sandboxed.png
+ :scale: 30
+ :align: center
+
+A lot of cleanups
+=================
+
+* got rid of semi-cool semi-working
+ proofs of concept
+
+* examples: CPython extension compiler,
+ rctypes
+
+* reduced code size
+
+* allowed us to progress forward into
+ advanced features
+
+* included sprint dedicated to cleanup
+ (on which noone was allowed to add features)
+
+Plans
+=====
+
+* more JIT - faster Python
+
+* support full CPython's stdlib
+
+* aim for more funding in pushing pypy
+ forward (more at the next talk)
+
+Links
+=====
+
+* http://codespeak.net/pypy
+
+* http://morepypy.blogspot.com
+
+* this talk is already online
More information about the Pypy-commit
mailing list