1. Victor Stinner
  2. astoptimizer

Commits

Victor Stinner  committed 24dbdab

Reorganize links

  • Participants
  • Parent commits 0de3010
  • Branches default

Comments (0)

Files changed (1)

File README

View file
 See also
 ========
 
- * http://www.dalkescientific.com/writings/diary/archive/2010/02/22/instrumenting_the_ast.html
- * http://pypi.python.org/pypi/asp
- * http://code.google.com/p/byteplay/
- * http://wiki.python.org/moin/PythonSpeed/PerformanceTips/
- * http://code.google.com/p/unladen-swallow/wiki/ProjectPlan
- * AST optimizer of PyPy:
-   https://bitbucket.org/pypy/pypy/src/default/pypy/interpreter/astcompiler/optimize.py
- * "A constant folding optimization pass for the AST"
-   http://bugs.python.org/issue1346238
- * "AST Optimization: inlining of function calls"
-   http://bugs.python.org/issue10399
- * "Build-out an AST optimizer, moving some functionality out of the peephole optimizer"
-   http://bugs.python.org/issue11549
- * "optimize out local variables at end of function":
-   http://bugs.python.org/issue2181
- * "Optimisation of if with constant expression":
-   http://bugs.python.org/issue7682
- * http://geofft.mit.edu/blog/sipb/73
- * http://tomlee.co/2008/04/the-internals-of-python-generator-functions-in-the-ast/
- * http://pypi.python.org/pypi/BytecodeAssembler
- * http://wiki.python.org/moin/ByteplayDoc
- * http://www.slideshare.net/cjgiridhar/diving-into-byte-code-optimization-in-python
- * http://svn.python.org/view/python/branches/tlee-ast-optimize/Python/optimize.c?view=log
- * http://grokbase.com/p/python/python-dev/0853rf4s1a/ast-optimization-branch-elimination-in-generator-functions
- * Cython:
+Faster Python implementations
+-----------------------------
 
-   * https://github.com/cython/cython/blob/master/Cython/Compiler/Optimize.py
-   * https://github.com/cython/cython/blob/master/Cython/Compiler/ParseTreeTransforms.py
-   * https://github.com/cython/cython/blob/master/Cython/Compiler/Builtin.py
-   * https://github.com/cython/cython/blob/master/Cython/Compiler/Pipeline.py#L123
+ * `PyPy <http://pypy.org/>`_
 
+   - AST optimizer of PyPy:
+     `astcompiler/optimize.py <https://bitbucket.org/pypy/pypy/src/default/pypy/interpreter/astcompiler/optimize.py>`_
+
+ * `Hotpy <http://code.google.com/p/hotpy/>`_
+   and `Hotpy 2 <https://bitbucket.org/markshannon/hotpy_2>`_,
+   based on `GVMT <http://code.google.com/p/gvmt/>`_ (Glasgow Virtual
+   Machine Toolkit)
+ * `numba
+   <https://github.com/numba/numba>`_
+ * `pymothoa <http://code.google.com/p/pymothoa/>`_ uses LLVM
+   ("don't support classes nor exceptions")
+ * `WPython <http://code.google.com/p/wpython/>`_: 16-bit word-codes instead of byte-codes
+ * `Cython <http://www.cython.org/>`_:
+
+   * `Compiler/Optimize.py
+     <https://github.com/cython/cython/blob/master/Cython/Compiler/Optimize.py>`_
+   * `Compiler/ParseTreeTransforms.py
+     <https://github.com/cython/cython/blob/master/Cython/Compiler/ParseTreeTransforms.py>`_
+   * `Compiler/Builtin.py
+     <https://github.com/cython/cython/blob/master/Cython/Compiler/Builtin.py>`_
+   * `Compiler/Pipeline.py
+     <https://github.com/cython/cython/blob/master/Cython/Compiler/Pipeline.py#L123>`_
+
+CPython issues
+--------------
+
+ * `Issue #11549 <http://bugs.python.org/issue11549>`_:
+   Build-out an AST optimizer, moving some functionality out of the peephole optimizer
+ * `Issue #10399 <http://bugs.python.org/issue10399>`_:
+   AST Optimization: inlining of function calls
+ * `Issue #7682 <http://bugs.python.org/issue7682>`_:
+   "Optimisation of if with constant expression":
+ * `Issue #2181 <http://bugs.python.org/issue2181>`_:
+   optimize out local variables at end of function
+ * `Issue #1346238 <http://bugs.python.org/issue1346238>`_:
+   A constant folding optimization pass for the AST
+
+Old projects
+------------
+
+ * `Unladen Swallow <http://code.google.com/p/unladen-swallow/>`_, fork of
+   CPython 2.6, use LLVM. No more maintained
+
+   - `ProjectPlan
+     <http://code.google.com/p/unladen-swallow/wiki/ProjectPlan>`_
+   - `Unladen Swallow Retrospective
+     <http://qinsb.blogspot.com.au/2011/03/unladen-swallow-retrospective.html>`_
+   - `PEP 3146
+     <http://python.org/dev/peps/pep-3146/>`_
+
+ * `psyco <http://psyco.sourceforge.net/>`_: JIT. The author of pysco, Armin
+   Rigo, co-created the PyPy project.
+
+AST
+---
+
+ * `instrumenting_the_ast.html <http://www.dalkescientific.com/writings/diary/archive/2010/02/22/instrumenting_the_ast.html>`_
+ * `the-internals-of-python-generator-functions-in-the-ast
+   <http://tomlee.co/2008/04/the-internals-of-python-generator-functions-in-the-ast/>`_
+ * `tlee-ast-optimize branch
+   <http://svn.python.org/view/python/branches/tlee-ast-optimize/Python/optimize.c?view=log>`_
+ * `ast-optimization-branch-elimination-in-generator-functions
+   <http://grokbase.com/p/python/python-dev/0853rf4s1a/ast-optimization-branch-elimination-in-generator-functions>`_
+
+Bytecode
+--------
+
+ * `byteplay <http://code.google.com/p/byteplay/>`_
+ * `diving-into-byte-code-optimization-in-python
+   <http://www.slideshare.net/cjgiridhar/diving-into-byte-code-optimization-in-python>`_
+ * `BytecodeAssembler <http://pypi.python.org/pypi/BytecodeAssembler>`_
+ * `ByteplayDoc <http://wiki.python.org/moin/ByteplayDoc>`_
+ * `Hacking Python bytecode <http://geofft.mit.edu/blog/sipb/73>`_
+
+Other
+-----
+
+ * `ASP <http://pypi.python.org/pypi/asp>`_:
+   ASP is a SEJITS (specialized embedded just-in-time compiler) toolkit for Python.
+ * `PerformanceTips <http://wiki.python.org/moin/PythonSpeed/PerformanceTips/>`_
+