Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger CppCon 2022 CppCon Kho Tổng Hợp 39,988 3 năm trước Add Nghe mp3 Facebook Tweet XEM MÔ TẢ https://cppcon.org/ --- Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger - CppCon 2022 https://github.com/CppCon/CppCon2022 “If I could go back in time and had the power to change C++, rather than adding virtual function, I would add language support for Type Erasure …” (Eric Niebler, June 19, 2020, Twitter). For many developers Type Erasure is superior to inheritance with respect to dependency management. And indeed, it has proven itself to be a powerful design pattern, helping to significantly reduce coupling between software entities. Unfortunately, there is no language support for Type Erasure (yet) and many shy away from the seemingly complex implementation details. In this talk I will give advice on the different ways of how to implement Type Erasure. I’ll start with two very simple, ~20 line implementations for owning and non-owning Type Erasure Wrappers. But I’ll also go into detail about different performance optimization strategies, such as the manual implementation of virtual functions and the Small Buffer Optimization (SBO). After this talk, attendees will know everything to realize and utilize Type Erasure in their own code bases. --- Klaus Iglberger Klaus Iglberger is a freelance C++ trainer and consultant. He has finished his PhD in Computer Science in 2010 and since then is focused on large-scale C++ software design. He shares his expertise in popular advanced C++ courses around the world (mainly in Germany, but also in the rest of the EU and the US). Additionally, he is the initiator and lead designer of the Blaze C++ math library (https://bitbucket.org/blaze-lib/blaze/), one of the organizers of the Munich C++ user group (https://www.meetup.com/MUCplusplus/), and the organizer of the Back-to-Basics track at CppCon. --- Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: http://www.BashFilms.com YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk #cppcon #programming #cpp Video liên quan 10:00 🔥A18 ROYAL PASS IS HERE - 1 TO 100 REWARDS AND COMPLETE LOOK IN 4.3 UPDATE Classified YT 131,600 view 8 tháng trước Add 23:54 Nghe Là Ghiền | Tuyển Tập Top Bài Hits Nhạc Trẻ Bất Hủ | Lời Xin Lỗi Vụng Về, Suýt Nữa Thì Gác Xép 146,706 view 1 năm trước Add 26:34 《一句頂一萬句》:中國式婚姻的孤獨,一句到底頂哪“一萬句”? #阿智解說 #電影解說 #電影 #解說 #解析 阿智解說 2,742 view 1 năm trước Add 3:53 Ellie Goulding - Still Falling For You (Live at BBCs Children in Need 2016) Pop World 922,068 view 10 năm trước Add 5:18 How to Play & Master Crypto in Apex Legends! Full Kit Guide | Season 28 Jodesy 19,603 view 10 tháng trước Add 0:50 Thử Thách Ăn Trứng 3 Cấp Độ | Pít Ham Ăn | #Shorts Pít Ham Ăn Official 9,900,386 view 5 năm trước Add 1:00:04 Tân Cổ Ví Giặm Tình Quê, Nhớ Thương Ví Dặm - Song Ca Ngọt Ngào Vấn Vương Lòng Người Ca Sĩ Lê Thanh Phong 121,943 view 3 năm trước Add 10:53 Big Bulletin | ಜಮೀರ್ ಸೇರಿ ಮೂವರ ವಿರುದ್ಧ ಹೈಕಮಾಂಡ್ಗೆ ದೂರು | HR Ranganath | April 10, 2026 Public TV 54,215 view 7 tháng trước Add 0:47 MikAel - Alone Together (Live at Metronome Prague 2025) #livemusic #concert #metronomeprague MikAel 249 view 1 năm trước Add 4:24 Machtergreifung, Machtübernahme, Machtübergabe - Adolf Hitler wird Reichskanzler - Diktatur des NS 3 Geschichte - simpleclub 509,966 view 9 năm trước Add 6:05 Đám Cưới Đầu Xuân - Đào Anh Thư | Nhạc Vàng Trữ Tình MV HD Đào Anh Thư 2,823,035 view 9 năm trước Add 21:31 Bollywood Dance Fitness Workout at Home | Latest Songs 2026 |FatBurning Cardio: Part 36 #dhurandhar Dhruvi Shah Dance 41,412 view 7 tháng trước Add 2:42:06 Illinois vs UConn - March Madness Final 4 - Live Stream Color Radio Broadcast Football Nation 126,671 view 7 tháng trước Add 14:29 Best Alaska Cruise Excursions at Your Ports of Call in Alaska - The Planet D Alaska Vlog The Planet D 190,466 view 3 năm trước Add 8:13 Cách làm TAI HEO NGÂM NƯỚC MẮM | Món nhậu đơn giản | Bếp Của Vợ Bếp Của Vợ 29,525 view 7 năm trước Add 0:59 Chàng Trai Dân Tộc Thiểu Số Có Giọng Hát Cực Hay | Tiền Đâu Phải Là Tất Cả - Điểu Dũng, St : A Tổ BL RECORD ENTERTAINMENT 15,995 view 2 năm trước Add 7:30 Cách làm CỦ KIỆU NGÂM ĐƯỜNG trắng giòn nhanh ăn để được cả năm Bếp Việt 47,742 view 1 năm trước Add 1:50 빗소리 - 설인아 [더 시즌즈-박재범의 드라이브] | KBS 230305 방송 KBS Kpop 13,583,151 view 3 năm trước Add 0:51 Priyanka Chopra & Farhan Akhtars LOVE CONFESSION | #DilDhadakneDo #Shorts Netflix India Shorts 2,051,313 view 3 năm trước Add 4:14 Surjit Bhullar & Sudesh Kumari | Safari | Full HD Brand New Punjabi Song Mad 4 Music 16,551,380 view 14 năm trước Add