Author: Armin Rigo <ar...@tunes.org> Branch: extradoc Changeset: r5724:6c7cb7b0d8ce Date: 2016-10-02 17:31 +0200 http://bitbucket.org/pypy/extradoc/changeset/6c7cb7b0d8ce/
Log: Update to the current abstract diff --git a/talk/pyconza2016/cffi-revdb.rst b/talk/pyconza2016/revdb.rst rename from talk/pyconza2016/cffi-revdb.rst rename to talk/pyconza2016/revdb.rst --- a/talk/pyconza2016/cffi-revdb.rst +++ b/talk/pyconza2016/revdb.rst @@ -1,33 +1,24 @@ - -CFFI, calling C // RevDB, a new debugger +RevDB, a reverse debugger ======================================== Abstract -------- -Two different topics: +RevDB is an experimental "reverse debugger" for Python, similar to +UndoDB-GDB or LL for C. You run your program once, in "record" mode, +producing a log file; once you get buggy behavior, you start the +reverse-debugger on the log file. It gives an (improved) pdb-like +experience, but it is replaying your program exactly as it ran---all +input/outputs are replayed from the log file instead of being redone. -* CFFI: a simple way to call C code from your Python programs; +The main point is that you can then go backward as well as forward in +time: from a situation that looks really buggy you can go back and +discover how it came to be. You also get "watchpoints", which are very +useful to find when things change. Watchpoints work both forward and +backward. -* RevDB: an experimental "reverse debugger" for Python. - -The two topics have in common their existence thanks to PyPy, an -alternative Python implementation in Python. Both are interesting -even if you are only using the regular CPython. - -*CFFI* is an alternative to using the standard CPython C API to extend -Python (or other tools like Cython, SWIG or ctypes). It was -originally inspired by LuaJIT's FFI. Like Cython, you declare C -functions and compile that with a regular C compiler. Unlike Cython, -there is no special language: you manipulate C data structures and -call C functions straight from Python. I will show examples of how -simple it is to call existing C code with CFFI. - -*RevDB* is a reverse debugger for Python, similar to UndoDB-GDB or LL -for C. You run your program once, in "record" mode; then you start -the reverse-debugger on the log file. It gives a pdb-like experience, -but it is replaying your program exactly as it ran---and moreover you -can now go backward as well as forward in time. You also get -"watchpoints", which are very useful to find when things change. I -will show how it works on small examples. +I will show on small examples how you can use it, and also give an idea +about how it works. It is based on PyPy, not CPython, so you need to +ensure your program works on PyPy in the first place (but chances are +that it does). _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit