Author: Ronan Lamy <ronan.l...@gmail.com> Branch: extradoc Changeset: r5405:886d8e2461bd Date: 2014-09-18 06:20 +0100 http://bitbucket.org/pypy/extradoc/changeset/886d8e2461bd/
Log: Pictures! diff --git a/talk/pycon-uk-2014/Makefile b/talk/pycon-uk-2014/Makefile --- a/talk/pycon-uk-2014/Makefile +++ b/talk/pycon-uk-2014/Makefile @@ -1,5 +1,5 @@ talk.pdf: talk.rst author.latex stylesheet.latex - rst2beamer --stylesheet=stylesheet.latex --overlaybullets=False --codeblocks-use-pygments --documentoptions=14pt talk.rst talk.latex || exit + rst2beamer --stylesheet=stylesheet.latex --overlaybullets=False --documentoptions=14pt talk.rst talk.latex || exit sed 's/\\date{}/\\input{author.latex}/' -i talk.latex || exit sed 's/XXXFAKETITLE//' -i talk.latex || exit #sed 's/\\maketitle/\\input{title.latex}/' -i talk.latex || exit diff --git a/talk/pycon-uk-2014/how-jit.png b/talk/pycon-uk-2014/how-jit.png new file mode 100644 index 0000000000000000000000000000000000000000..ad9ce720343f9b461e202faacd566abc3a331b61 GIT binary patch [cut] diff --git a/talk/pycon-uk-2014/how-pypy.png b/talk/pycon-uk-2014/how-pypy.png new file mode 100644 index 0000000000000000000000000000000000000000..203ad9bc6073ee2fda4d9e624f6bf6bd1941b4cb GIT binary patch [cut] diff --git a/talk/pycon-uk-2014/how-rpython.png b/talk/pycon-uk-2014/how-rpython.png new file mode 100644 index 0000000000000000000000000000000000000000..a98cd6335f01d9bcfc2638d72a446a3f3af0cba8 GIT binary patch [cut] diff --git a/talk/pycon-uk-2014/stylesheet.latex b/talk/pycon-uk-2014/stylesheet.latex --- a/talk/pycon-uk-2014/stylesheet.latex +++ b/talk/pycon-uk-2014/stylesheet.latex @@ -1,5 +1,4 @@ \usetheme{Boadilla} -\setbeamercovered{transparent} \setbeamertemplate{navigation symbols}{} \definecolor{darkgreen}{rgb}{0, 0.5, 0.0} diff --git a/talk/pycon-uk-2014/talk.rst b/talk/pycon-uk-2014/talk.rst --- a/talk/pycon-uk-2014/talk.rst +++ b/talk/pycon-uk-2014/talk.rst @@ -23,6 +23,18 @@ * **FAST** +How does RPython work? +---------------------- + +.. image:: how-rpython.png + +.. raw:: latex + + {\tiny + +Altered from http://abstrusegoose.com/secretarchives/under-the-hood - CC BY-NC 3.0 US + +|>| What is RPython? ---------------- @@ -103,12 +115,25 @@ * Compiled executable - How does the JIT work? ---------------------- |pause| +.. image:: how-jit.png + +.. raw:: latex + + {\tiny + +Altered from http://abstrusegoose.com/secretarchives/under-the-hood - CC BY-NC 3.0 US + +|>| + + +How does the JIT work? +---------------------- + - "Jitcode": very low-level byte code * Translates to machine code @@ -216,6 +241,20 @@ |end_scriptsize| +How does PyPy work? +---------------------- + +.. image:: how-pypy.png + +.. raw:: latex + + {\tiny + +Altered from http://abstrusegoose.com/secretarchives/under-the-hood - CC BY-NC 3.0 US + +|>| + + PyPy: past two years (1) ----------------------------- @@ -298,6 +337,17 @@ - Distributed as part of Raspbian OS +jitviewer +--------- + +- Python code: "it just works" + + * but is it fast? + +- jitviewer: find out what the JIT does + + * http://bitbucket.org/pypy/jitviewer + Compiled extensions ------------------- @@ -343,7 +393,7 @@ |example<| Simple example |>| |scriptsize| -.. code:: python +.. sourcecode:: python >>> from cffi import FFI >>> ffi = FFI() @@ -364,13 +414,17 @@ numpy ----- -- In-progress +- Core inside PyPy + +- The rest at http://bitbucket.org/pypy/numpy - ~80% of numpy implemented * 2415 passing tests out of 3265 -- Just try it +- In progress, just try it + +- No Python 3 support - No scipy :-/ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit