Added Evil C++ abstract

This commit is contained in:
Stefanus Du Toit 2002-10-30 15:47:55 +00:00
parent 3325ef218c
commit d0827b7829
1 changed files with 24 additions and 2 deletions

View File

@ -962,8 +962,30 @@ lent to you for the duration of this class.</p>
<eventitem date="2002-11-05" time="4:30 PM" room="MC 2065"
title="The Evil Side of C++">
<short>Abusing template metaprogramming in C++ for fun and profit</short>
<abstract>No abstract available yet.</abstract>
</eventitem>
<abstract>
<p>Templates are a useful feature in C++ when it comes to writing
type-independent data structures and algorithms. Relatively soon
after their appearance it was realised that they could be used to
do much more than this. Essentially it is possible to write
certain programs in C++ that execute <i>completely at compile
time</i> rather than run time. Combined with constant-expression
optimisation this is an interesting twist on regular C++
programming.</p>
<p>This talk will give a short overview of the features of
templates and then go on to describe how to &quot;abuse&quot;
templates to perform complex computations at compile time. The
speaker will present three programs of increasing complexity which
execute at compile time. First a factorial listing program, then a
prime listing program will be presented. Finally the talk will
conclude with the presentation of a <b>Mandelbrot generator running
at compile time</b>.</p>
<p>If you are interested in programming for the fun of it, the C++
language or silly tricks to do with languages, this talk is for
you. No C++ knowledge should be necessary to enjoy this talk, but
programming experience will make it more worthwile for you.</p>
</abstract> </eventitem>
<eventitem date="2002-11-02" time="11:00AM-3:00PM"
room="MC3002 (Math Coffee and Donut Store)"