Polymorphism, Cohesion, and Coupling in C++ - Jody Hagins - C++ on Sea 2023

--- Polymorphism, Cohesion, and Coupling in C - Jody Hagins - C on Sea 2023 One primary design goal is low coupling and high cohesion, usually accomplished through different applications of polymorphism. Some great designs, however, are difficult to implement without sacrificing performance. We will discuss the reasons why a design from 1984 is even more relevant to us now, in the world of modern C . Specifically, we will see that designs which emphasize low coupling and high cohesion provide opportunities for easy composition, and adding features without changing existing code. After a summarizing the principles for this design, the majority of time will be spent discussing the implementation of a framework that implements the aforementioned design, preserving the benefits, without sacrificing performance. Template metaprogramming techniques will be used in the implementation, but anyone with basic C template experience should be able to follow along. --- Slides: Sponsored by think-cell: --- Jody Hagins Jody has been using C for the better part of four decades. He remains amazed at how much he does not know after all those years. He has spent most of that time designing and building systems in C , for use in the high frequency trading space. --- C on Sea is an annual C and coding conference, in Folkestone, in the UK. - Annual C on Sea, C conference: - 2023 Program: - Twitter: --- YouTube Videos Filmed, Edited & Optimised by Digital Medium: #cpp​ #cpponsea​ #cppprogramming
Back to Top