[pypy-commit] extradoc extradoc: First WIP for the Scipy India talk

rguillebert noreply at buildbot.pypy.org
Wed Dec 3 20:30:18 CET 2014


Author: Romain Guillebert <romain.py at gmail.com>
Branch: extradoc
Changeset: r5473:6790ce64ab6c
Date: 2014-12-03 17:40 +0100
http://bitbucket.org/pypy/extradoc/changeset/6790ce64ab6c/

Log:	First WIP for the Scipy India talk

diff --git a/talk/scipyindia2014/talk.rst b/talk/scipyindia2014/talk.rst
new file mode 100644
--- /dev/null
+++ b/talk/scipyindia2014/talk.rst
@@ -0,0 +1,79 @@
+=============================
+PyPy and the scientific stack
+=============================
+
+Introduction
+------------
+
+* PyPy contributor
+
+* Hired to work on NumPyPy
+
+* Interested in library compatibility
+
+* @rguillebert on twitter, feel free to send me questions
+
+* Software consultant
+
+* Feel free to interrupt me
+
+PyPy
+----
+
+* PyPy is an implementation of the Python language
+
+* Speed is one of its main advantages
+
+* Compatibility is very important to us
+
+Speed
+-----
+
+* XXX : Insert speed.pypy.org screenshot
+
+Python
+------
+
+* Python is a great language
+
+* Very dynamic
+
+* Easy to introspect (pdb is just another Python module)
+
+* Considered slow
+
+How to get performance out of Python code ?
+-------------------------------------------
+
+* Rewrite your code in C
+
+* Rewrite your code in Cython
+
+* Rewrite your code in some subset/dialect of Python like Numba
+
+* Just write Python and use PyPy, pay only the cost of what you use
+
+PyPy And C
+----------
+
+* PyPy is pretty good at interacting with C code with cffi
+
+* C extensions written using the Python C API can work, but they're slow and support is incomplete
+
+* We have ideas to help with that in some use cases
+
+Python C API
+------------
+
+* Leaks way too many implementation details (refcounting, PyObject structure fields)
+
+* Makes it hard to improve Python while supporting 100% of the API
+
+* Should we have a new C API ?
+
+NumPyPy
+-------
+
+* ~80% of the numpy tests are passing
+
+* XXX


More information about the pypy-commit mailing list