Skip to content

Instantly share code, notes, and snippets.

@MattPD
Created June 17, 2021 17:28
Show Gist options
  • Save MattPD/dfdb2fbe18ec45ddb685dab70928fc3f to your computer and use it in GitHub Desktop.
Save MattPD/dfdb2fbe18ec45ddb685dab70928fc3f to your computer and use it in GitHub Desktop.

Revisions

  1. MattPD created this gist Jun 17, 2021.
    43 changes: 43 additions & 0 deletions cpp.type_erasure.draft.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    # [C++ links](https://github.com/MattPD/cpplinks): Type Erasure

    https://github.com/MattPD/cpplinks / C++ / Type Erasure

    _(draft; work in progress)_

    # Type Erasure

    - Back to Basics: Type Erasure
    - CppCon 2019; Arthur O'Dwyer
    - https://www.youtube.com/watch?v=tbUCHifyT24
    - https://github.com/CppCon/CppCon2019/tree/master/Presentations/back_to_basics_type_erasure
    - On the Tension Between Object-Oriented and Generic Programming in C++ and What Type Erasure Can Do About It
    - Thomas Becker, C++ Source - October 15, 2007
    - https://www.artima.com/cppsource/type_erasure.html
    - Practical Type Erasure
    - CppCon 2014; Cheinan Marks
    - https://www.youtube.com/watch?v=5PZVuUzP34g
    - std::polymorphic_value + Duck Typing = Type Erasure
    - https://foonathan.net/2020/01/type-erasure/
    - Tales of C++, Episode Nine: Erasing the Concrete - http://talesofcpp.fusionfenix.com/post-16/episode-nine-erasing-the-concrete
    - Type erasure - Andrzej's C++ blog
    - https://akrzemi1.wordpress.com/2013/11/18/type-erasure-part-i/
    - https://akrzemi1.wordpress.com/2013/12/06/type-erasure-part-ii/
    - https://akrzemi1.wordpress.com/2013/12/11/type-erasure-part-iii/
    - https://akrzemi1.wordpress.com/2014/01/13/type-erasure-part-iv/
    - Type erasure in C++, and some details
    - Gothenburg C++ Meetup 2018; Harald Achitz
    - https://www.youtube.com/watch?v=9X9JzSO00oY
    - What is Type Erasure?
    - https://quuxplusone.github.io/blog/2019/03/18/what-is-type-erasure/

    ## TEPS (Type Erasure (Sean) Parent Style)

    - Better Code: Runtime Polymorphism
    - NDC London 2017; Sean Parent
    - https://www.youtube.com/watch?v=QGcVXgEVMJg
    - Mathieu Ropert
    - Polymorphic ducks - https://mropert.github.io/2017/11/30/polymorphic_ducks/
    - Better polymorphic ducks - https://mropert.github.io/2017/12/17/better_polymorphic_ducks/
    - Follow-up to 'Better polymorphic ducks' - https://mropert.github.io/2017/12/23/undefined_ducks/
    - Sean Parent
    - Small Object Optimization for Polymorphic Types - http://stlab.cc/tips/small-object-optimizations.html