Commits

Maciej Fijalkowski committed c781704

talk at invitae

Comments (0)

Files changed (5)

talk/sftour2013/invitae/Makefile

+# you can find rst2beamer.py and inkscapeslide.py here:
+# http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/rst2beamer.py
+# http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/inkscapeslide.py
+
+
+talk.pdf: talk.rst author.latex stylesheet.latex
+	rst2beamer --input-encoding=utf8 --output-encoding=utf8 --stylesheet=stylesheet.latex --documentoptions=14pt talk.rst talk.latex || exit
+	sed 's/\\date{}/\\input{author.latex}/' -i talk.latex || exit
+	#sed 's/\\maketitle/\\input{title.latex}/' -i talk.latex || exit
+	pdflatex talk.latex  || exit
+
+view: talk.pdf
+	evince talk.pdf &
+
+xpdf: talk.pdf
+	xpdf talk.pdf &

talk/sftour2013/invitae/author.latex

+\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0}
+
+\title[Writing fast Python programs]{Writing fast Python programs}
+\author[arigo, fijal]
+{Armin Rigo \\ Maciej Fijałkowski}
+
+\institute{InVitae 2013}
+\date{March 20 2013}

talk/sftour2013/invitae/beamerdefs.txt

+.. colors
+.. ===========================
+
+.. role:: green
+.. role:: red
+
+
+.. general useful commands
+.. ===========================
+
+.. |pause| raw:: latex
+
+   \pause
+
+.. |small| raw:: latex
+
+   {\small
+
+.. |end_small| raw:: latex
+
+   }
+
+.. |scriptsize| raw:: latex
+
+   {\scriptsize
+
+.. |end_scriptsize| raw:: latex
+
+   }
+
+.. |strike<| raw:: latex
+
+   \sout{
+
+.. closed bracket
+.. ===========================
+
+.. |>| raw:: latex
+
+   }
+
+
+.. example block
+.. ===========================
+
+.. |example<| raw:: latex
+
+   \begin{exampleblock}{
+
+
+.. |end_example| raw:: latex
+
+   \end{exampleblock}
+
+
+
+.. alert block
+.. ===========================
+
+.. |alert<| raw:: latex
+
+   \begin{alertblock}{
+
+
+.. |end_alert| raw:: latex
+
+   \end{alertblock}
+
+
+
+.. columns
+.. ===========================
+
+.. |column1| raw:: latex
+
+   \begin{columns}
+      \begin{column}{0.45\textwidth}
+
+.. |column2| raw:: latex
+
+      \end{column}
+      \begin{column}{0.45\textwidth}
+
+
+.. |end_columns| raw:: latex
+
+      \end{column}
+   \end{columns}
+
+
+
+.. |snake| image:: ../../img/py-web-new.png
+           :scale: 15%
+           
+
+
+.. nested blocks
+.. ===========================
+
+.. |nested| raw:: latex
+
+   \begin{columns}
+      \begin{column}{0.85\textwidth}
+
+.. |end_nested| raw:: latex
+
+      \end{column}
+   \end{columns}

talk/sftour2013/invitae/stylesheet.latex

+\usetheme{Boadilla}
+\usecolortheme{whale}
+\setbeamercovered{transparent}
+\setbeamertemplate{navigation symbols}{}
+
+\definecolor{darkgreen}{rgb}{0, 0.5, 0.0}
+\newcommand{\docutilsrolegreen}[1]{\color{darkgreen}#1\normalcolor}
+\newcommand{\docutilsrolered}[1]{\color{red}#1\normalcolor}
+
+\newcommand{\green}[1]{\color{darkgreen}#1\normalcolor}
+\newcommand{\red}[1]{\color{red}#1\normalcolor}

talk/sftour2013/invitae/talk.rst

+.. include:: beamerdefs.txt
+
+============================
+Writing fast Python programs
+============================
+
+who we are
+----------
+
+* Maciej Fijałkowski
+
+* Armin Rigo
+
+what we're going to talk about
+------------------------------
+
+* the problem of fast python
+
+* cython, numpy, weave, etc
+
+* PyPy and our approach
+
+* promise to keep it short
+
+python language
+---------------
+
+* expressive
+
+* concise
+
+* performance characteristics not 100% clear
+
+classic solutions
+-----------------
+
+* use numpy, but your algorithms have to be vectorized
+
+|pause|
+
+* use cython, but you have to write down your types
+
+|pause|
+
+* don't use python, just call C
+
+demo
+----
+
+...
+
+pypy approach
+-------------
+
+* make language fast enough for algorithms
+
+* make numpy compatible enough to reuse it
+
+* more algorithms less pipeline building
+
+more
+----
+
+* pypy.org
+