From 4ccd4618f7338c9bdcd9cd70c133c7a8238eb23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Tue, 8 Oct 2019 12:13:01 +0200 Subject: [PATCH] Cut out a bit more --- slides.tex | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/slides.tex b/slides.tex index 3cf11dd..537cb99 100644 --- a/slides.tex +++ b/slides.tex @@ -259,6 +259,9 @@ $1 = 84 \begin{center} \textbf{\Large{}Debug data is not only for debugging} \end{center} + + \vspace{1em} + $\leadsto$ we might want \alert{an alternative time/space trade-off} \end{frame} \newcommand{\LinusMailOne}{ @@ -464,24 +467,6 @@ $1 = 84 \subsection{Compilation ahead-of-time} -\begin{frame}{Why compiling?} - \begin{itemize} - \item Remember that \alert{DWARF is slow}! - \item \alert{Bytecode} interpreted \alert{on the fly} to - generate the data tables - \item Done so for \alert{extreme compacity} - \end{itemize} - - \pause{} - \vspace{1em} - - \begin{itemize} - \item Goal: \alert{reasonable time-space trade-off} to speed up DWARF - \item Tables are now \alert{compiled functions} returning the requested - DAWRF row - \end{itemize} -\end{frame} - \begin{frame}{Compilation overview} \begin{itemize} \item Compiled to \alert{C code} @@ -501,6 +486,12 @@ $1 = 84 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[shrink]{Compilation example: generated C} \lstinputlisting[language=C]{src/fib7/fib7.eh_elf_basic.c} + + \pause{} + \vspace{1em} + \begin{center} + The real code is optimised, but boils down to this. + \end{center} \end{frame} @@ -517,12 +508,7 @@ $1 = 84 \item \texttt{libunwind-eh\_elf}: alternative implementation using \ehelfs{} - \item[$\leadsto$] \alert{alternative implementation} of libunwind, - almost plug-and-play for existing projects! - \begin{itemize} - \item[$\leadsto$] It is \alert{easy} to use \ehelfs{}: just - link against the right library! - \end{itemize} + \item[$\leadsto$] almost \alert{``relink-and-play''} for existing projects! \end{itemize} \end{frame}