May 14th, 2003 — The Bizarro World of hetero_stack… — Eric Niebler

Published: Thu 01 May 2003
By nwcpp

In 2003.


6464 185th Avenue NE
Redmond, WA 98052


The Bizarro World of hetero_stack, or How I Learned to Stop Worrying and Love RTTI, or Alignment, Exceptions and Type-Safety, Oh My! or Subverting the C++ Type System for Fun and Profit.

hetero_stack is a dynamic replacement for the program stack. Push anything! Pop anything! I’ll talk about how to make it work and how to make it type-safe and exception-safe. (I might even say a few words about why you might want to do such a thing.) We’ll cover alignment, runtime time info and the strong exception guarantee, time permitting. This talk assumes knowledge of templates and exceptions, but nothing too esoteric.


Eric Niebler studied Computer Science at the University of Virginia. He spent several years in the Windows 2000 group at Microsoft before moving to a development position at Microsoft Research in the Natural Language Processing group. He is now a library developer in the Visual C++ group. His interests include data structures and algorithms; compiler, language, and library design; data serialization and persistence; and pattern matching.

Click here to download the slides from the presentation