Modern C++ Iterators©2023 by josuttis.com 1 C++ Stop Putin Stop war Nicolai M. Josuttis josuttis.com @NicoJosuttis 10/23 Iterators ©2023 by josuttis.com 2 C++ Nicolai M. Josuttis • Independent consultant – Continuously learning since 1962 • C++: – since 1990 – ISO Standard Committee since 1997 • Other Topics: – Systems Architect – Technical Manager – SOA – X and OSF/Motif Nico Josuttis Modern C++ 2023-10-03 @CppCon @CppCon 1©2023 by josuttis.com 3 C++ Stop Putin Stop war Iterators Modern C++ ©2023 by josuttis.com 4 C++ Loop Over Arrays • Two ways to iterate over the elements of an array – Using indexes – Using pointers0 码力 | 24 页 | 1.93 MB | 6 月前3
Monads in Modern C++Finance L.P. All rights reserved. © 2023 Bloomberg Finance L.P. All rights reserved. Monads in Modern C++ ACCU 2023 April 20, 2023 Georgi Koyrushki, Senior Software Engineer Alistair Fisher, Engineering makes C++ qualified for this talk? https://www.modernescpp.com/index.php/first-class-functions — … AND… — Functional (as of C++11) • Functions in modern C++ are first-class citizens (ish) • C++ is Functional (as of C++11) • Functions in modern C++ are first-class citizens (ish) • C++ is very well known to be — Procedural — Imperative — OO — Generic What makes C++ qualified for this talk?© 2018 Bloomberg0 码力 | 94 页 | 4.56 MB | 6 月前3
Modern C++ Error HandlingModern C++ Handling Phil Nash Error2018 2019series disappointments of a (total) Part 1int parse_int(std::string_view number)// TODO: +, -, digit separators? int acc = 0; for(char c deviating from the Lakos Rule is invariably and absolutely a terribly bad idea, especially within the C++ Standard Library specification. the “Lakos Rule” “ ” https://www.open-std.org/jtc1/sc22/wg21/d unchecked versions Correct-by-construction Throwing violation-handler No noexcept PreconditionsModern C++ Handling Phil Nash Error0 码力 | 66 页 | 36.65 MB | 6 月前3
Heterogeneous Modern C++ with SYCL 20201Michael Wong Distinguished Engineer ● Chair of SYCL Heterogeneous Programming Language ● ISO C++ Directions Group past Chair ● Past CEO OpenMP ● ISOCPP.org Director, VP http://isocpp.org/wiki/ org/wiki/faq/wg21#michael-wong ● michael@codeplay.com ● fraggamuffin@gmail.com ● Head of Delegation for C++ Standard for Canada ● Chair of Programming Languages for Standards Council of Canada Chair of WG21 Latency/Financial Trading/Embedded ● Editor: C++ SG5 Transactional Memory Technical Specification ● Editor: C++ SG1 Concurrency Technical Specification ● MISRA C++ and AUTOSAR ● Chair of Standards Council0 码力 | 114 页 | 7.94 MB | 6 月前3
Using Modern C++ to Build XOffsetDatastructureResearch & Development Expert and Team Leader • Over 20 Years of Experience in C++ Programming • Areas of Expertise: • Modern C++ • Performance Optimization • Low Latency Systems • Code Maintainability • this section. Fanchen Su, XOffsetDatastructure, CppCon 2024 41. Title • 1 Long Title: • Using Modern C++ to Build XOffsetDatastructure: A Zero-Encoding and Zero-Decoding High-Performance Serialization Zero-Decoding Fanchen Su, XOffsetDatastructure, CppCon 2024 51. Title • 1 Long Title: • Using Modern C++ to Build XOffsetDatastructure: A Zero-Encoding and Zero-Decoding High-Performance Serialization0 码力 | 111 页 | 3.03 MB | 6 月前3
Monadic Operations in Modern C++: A Practical ApproachMonadic Operations in Modern C++: A Practical Approach2About me ● Vitaly Fanaskov ● Senior software engineer at reMarkable ● 10+ years of C++ experience ● GIS, VFX, frameworks, and libraries ● Ph ● Monadic operations in software development ● Tips and tricks 4In this talk ● Less theory ● C++ only ● Practical examples 5Where do examples come from? 6Our internal framework 7 Module 1 Module Navigation 8Technologies we use ● C++ 20 ● vcpkg ● Many 3rd-party libraries (e.g. ranges-v3, tl-expected, catch2 etc) ● Qt for UI on devices 9Briefly about Qt 10 C++ code: ● Business logic ● Integration0 码力 | 61 页 | 411.49 KB | 6 月前3
Modern C++ for Parallelism in High Performance ComputingPoster submission: Modern C++ for Parallelism in High Performance Computing Victor Eijkhout CppCon 2024 Introduction This poster reports on ‘D2D’, a benchmark that explores elegance of expression and performance results. Relevance C++ is making inroads into HPC / Scientific Computing, a field traditionally dominated by C and Fortran. With all the developments in modern C++ such as range algorithms, their execution strategies, and multi-dimensional arrays through ‘mdspan’, it is interesting to explore what C++ can offer for lower level performance critical operations. Scientific computing is an interesting0 码力 | 3 页 | 91.16 KB | 6 月前3
Practical memory pool based allocators for Modern C++memory pool based allocators for Modern C++ by Misha Shalem misha.shalem@apex.ai © 2020 Apex.AI, Inc.● CppCon 2019: Safe Software for Autonomous Mobility With Modern C++ by Andreas Pasternak ● Quote: ● What does it mean practically for C++ memory allocations? We asked an independent 3rd party safety assessor and the answer was “It should comply to Autosar C++ 14 Coding Guidelines regarding memory memory allocations” © 2020 Apex.AI, Inc.Autosar C++ guidelines Rule A18-5-5 (required, implementation, partially automated) Memory management functions shall ensure the following: ● deterministic behavior0 码力 | 49 页 | 986.95 KB | 6 月前3
Blazing Trails: Building the World's Fastest CameBoy Emulator in Modern C++of Applied Sciences within “Digital Arts and Entertainment” bachelor,r Game Development major • C++ • Algorithms • Computational System Fundamentals • *new* Retro Console and Emulator Programming • World’s Fastest GameBoy Emulator in Modern C++ 4Building the World’s Fastest GameBoy Emulator in Modern C++ 5Building the World’s Fastest GameBoy Emulator in Modern C++ 6 Deep System Understanding Emulators machine code. This is valuable for a C++ programmer, as C++ often deals with system-level programming.Building the World’s Fastest GameBoy Emulator in Modern C++ The original Game Boy DMG-01 • Released0 码力 | 91 页 | 8.37 MB | 6 月前3
Modern C++ Tutorial: C++11/14/17/20 On the FlyModern C++ Tutorial: C++11/14/17/20 On the Fly Changkun Ou (hi[at]changkun.de) Last update: May 7, 2023 Notice The content in this PDF file may outdated, please check our website or GitHub repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Chapter 01: Towards Modern C++ 9 1.1 Deprecated Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Appendix 1: Further Study Materials 91 Appendix 2: Modern C++ Best Practices 91 Common Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 92 页 | 1.79 MB | 1 年前3
共 394 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













