[pypy-commit] extradoc extradoc: tweak
rlamy
noreply at buildbot.pypy.org
Fri Sep 19 12:35:56 CEST 2014
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: extradoc
Changeset: r5409:5145ec98b828
Date: 2014-09-19 09:23 +0100
http://bitbucket.org/pypy/extradoc/changeset/5145ec98b828/
Log: tweak
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
@@ -4,25 +4,11 @@
XXXFAKETITLE
===========================
-About me
----------
-
-- PyPy core dev
-
-- Working on HippyVM
-
-
What is PyPy?
--------------
- "PyPy is a fast, compliant alternative implementation of the Python language (2.7.8 and 3.2.5)."
-- Python interpreter
-
- * written in RPython
-
- * **FAST**
-
How does RPython work?
----------------------
@@ -39,15 +25,84 @@
What is RPython?
----------------
-- Subset of Python
+- General framework for dynamic languages
+
+- RPython: a subset of Python
* easy to read
* easy to test
-- JIT & GC for free
+- RPython toolchain
-- General framework for dynamic languages
+ * Translates RPython code to C
+
+ * Just-in-time compiler (JIT) & garbage collector (GC) for free
+
+
+RPython translation stages
+--------------------------
+
+- (R)Python code
+
+- ``import``
+
+ * Python objects (functions, classes, ...)
+
+- Bytecode analysis, type inference
+
+ * Typed control flow graph
+
+- Translator transformations
+
+ * Add GC & **JIT**
+
+- Code generation
+
+ * C code
+
+- ``gcc``
+
+ * 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
+
+- Translation time
+
+ * Add jitcode representation to RPython functions
+
+- Run-time:
+
+ * Detect **hot** loop
+
+ * Trace one code path through the loop
+
+ * Compile (magic!)
+
+ - with guards to ensure correctness
+
+ * Profit!
RPython-powered languages
@@ -80,81 +135,6 @@
- lang-js (JavaScript)
-RPython translation stages
---------------------------
-
-- (R)Python code
-
-|pause|
-
-- ``import``
-
- * Python objects (functions, classes, ...)
-
-|pause|
-
-- Bytecode analysis, type inference
-
- * Typed control flow graph
-
-|pause|
-
-- Translator transformations
-
- * Add GC & JIT
-
-|pause|
-
-- Code generation
-
- * C code
-
-|pause|
-
-- ``gcc``
-
- * 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
-
-- Translation time
-
- * Add jitcode representation to RPython functions
-
-- Run-time:
-
- * Detect **hot** loop
-
- * Trace one code path through the loop
-
- * Compile (magic!)
-
- - with guards to ensure correctness
-
- * Profit!
-
-
RPython example (HippyVM)
-------------------------
@@ -360,10 +340,12 @@
|pause|
+- CFFI: the future
+
+|pause|
+
- Native PyPy C API for embedding
-- CFFI: the future
-
- numpy: in-progress (more later)
More information about the pypy-commit
mailing list