
Eduardo Madrid
High Performance and Generic Programming C++ Software Engineer, with experience in financial technologies and other fields.
Presenter several times at users groups and C++ conferences
Sessions
External Polymorphism and Type Erasure
IntermediateAdvancedDesignRuntime Polymorphism is probably the most empowering tool we could master to achieve correctness and at the same time work less: is the key aspect that allows us making clear abstractions and implementing them with just enough detail. There is justified skepticism about applying Runtime Polymorphism: among others, the expectation of losing performance and making the code rigid. But, in C++, Runtime Polymorphism does not end at the language feature of inheritance and `virtual` overrides; C++ allows us the application of more sophisticated conceptual tools such as the External Polymorphism design pattern. External Polymorphism not only goes beyond "inheritance + […]
