Eduardo Madrid

  • Eduardo Madrid

Author of open source libraries and components such as the Zoo SWAR and type-erasure framework. Prior experience as tech Lead at Snap, Inc., Fintech, including automated trading. Several times presenter at CPPCon, C++ Now, C++ London, & others

Sessions

  • Runtime Polymorphism with Freedom and Performance

    Intermediate
    Advanced
    Generic/Metaprogramming

    In his great presentation “Inheritance Is The Base Class of Evil,” Sean Parent clearly exposed the flaws of using inheritance and virtual overrides (subclassing) for runtime polymorphism — and solved the bulk of those problems in just 25 minutes. But what if, instead of 25 minutes, he was speaking to a C++ Now audience, with years of experience refining and applying these ideas in production? Could he have gone beyond fixing subclassing flaws — unlocking better performance, greater modeling power, and a universe of new possibilities? Runtime polymorphism via subclassing forces a world of pains: The Busywork: Perfectly great types […]

  • How Generic Programming and C++ Portability Give Great Performance and Knowledge of What Performs Well

    Intermediate
    Advanced
    Generic/Metaprogramming

    This presentation is about how Generic Programming Paradigm support in C++ and its portability has enabled us to achieve very good performance and accidentally create a powerful analysis instrument to observe programming technique performance and real "silicon" execution capabilities. We will start by showing how our Hash Tables are "adaptive". We mean by "adaptive" that there are template parameters to modify memory layouts, hashing options, structure organization, and -crucially- bit widths of substructures. Then, at runtime, a table can transform itself into another table with other parameters. We applied the Generic Programming Paradigm from the start, resulting in stunning configurabiity, […]