Experimenting with Type Erasure in C++17 - SAS7BDAT File Reader Implementation
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore a concrete implementation of type erasure in C++17 through a SAS7BDAT file reader in this conference talk from Meeting C++ 2022. Dive into the application of external polymorphism design pattern at multiple levels, including input data streams, data selection, and output data streams. Learn how type erasure enables the use of various concrete types through a single generic interface, comparable to duck typing in Python. Examine the performance comparisons between the resulting C++ code and implementations in other languages such as C, Python, R, and Julia. Gain insights into breaking dependencies and enhancing code flexibility using this powerful design pattern for advanced analytics, business intelligence, and data management applications.