0:00 / 0:00
#c++#polymorphism#virtualfunctions
Using Modern C++ to Eliminate Virtual Functions - Jonathan Gopel - CppCon 2022
CppCon
189K subscribers • 103 videos on Hallway • Conference channel
- One of the most-watched uploads on CppCon, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
- Presented by Jonathan Gopel
- Linked in the descriptionCppCon/CppCon2022
Intermediate. Assumes working knowledge.
119K views3 years ago
Programming languagesSoftware designC++Design patternsPerformance and optimization
Jonathan Gopel explores techniques for replacing runtime polymorphism with compile-time polymorphism in modern C++ to eliminate virtual functions.
cppcon.org/ --- Using Modern C++ to Eliminate Virtual Functions - Jonathan Gopel - CppCon 2022 github.com/CppCon/CppCon2022 As of C++20, there are no cases in which statically linked programs require virtual functions. This talk will explore techniques for replacing runtime polymorphism with compile-time polymorphism such that virtual functions are never necessary. This talk will also address the higher-order concern of when it might make sense to avoid virtual functions or remove them from a codebase, as that decision ultimately is a design decision that only the author of the code can make. Attendees can expect to come away with a stronger understanding of the purposes of virtual functions and the mechanisms in modern C++ that can now be used to achieve those same purposes. --- Jonathan Gopel Jonathan is a C++ enthusiast who likes to tinker with the latest language features. He spends a lot of time thinking about designing beautiful, easy to use APIs, and believes that the hard part is interfacing with the humans, not the machines. In his spare time, Jonathan pursues outdoor sports - especially climbing, skiing, and running. --- Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: BashFilms.com YouTube Channel Managed by Digital Medium Ltd events.digital-medium.co.uk #cppcon #programming #functionsWhy it's here
A top upload from a listed channelCppCon is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.