C++20: An (Almost) Complete Overview
Edition 5th Edition (C++20) coming later this year Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP)3 C++20 C++20 published by the end of 2020.4 Agenda Modules Ranges Coroutines Concepts Lambda Expression Changes [=, this] as Lambda Capture Templated Lambda Expressions Pack Expansion in Lambda Concurrency Changes Atomic Smart Pointers Joining & Cancellable Threads The C++20 Synchronization Library Semaphores, efficient atomic waiting, latches, and barriers std::atomic_ref Designated Initializers0 码力 | 85 页 | 512.18 KB | 5 月前3C++23: An Overview of Almost All New and Updated Features
Professional C++, 2nd, 3rd, 4th, and 5th Edition Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++204 Agenda Character Escapes Trim Whitespace Before Line Splicing C++23 Standard Library String Formatting Improvements Standard Library Modules std::flat_(multi)map / std::flat_(multi)set std::mdspan d_overwrite() Monadic Operations for std::optional Stacktrace Library Changes to Ranges Library Changes to Views Library std::expected std::move_only_function<> std::spanstream 0 码力 | 105 页 | 759.96 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 17 由浅入深学习 map 容器
v] = expression(); • 相当于: • auto tmp = expression(); • auto &k = std::get<0>(tmp); • auto &v = std::get<1>(tmp); • auto const &[k, v] = expression(); • 相当于: • auto const &tmp = expression(); •0 码力 | 90 页 | 8.76 MB | 1 年前3Learning by Contributing to Rust Compiler - 陈于康
small projects • 2020 ~ 2021 More open-source projects, gomoku, youki, dapr-wasm • 2022 ~ Regular contributions to Rust My Rust experience • A real case Remove duplicated diagnostics • Issue0 码力 | 23 页 | 3.28 MB | 1 年前3Working with Asynchrony Generically: A Tour of C++ Executors
}), ex::schedule(sched) | ex::then([] { return compute_intensive(2); }) );11 SENDERS ARE EXPRESSION TEMPLATES ex::sender auto work = ex::when_all( ex::schedule(sched) | ex::then([] { return compute_intensive(2); }) ); when_all then then then schedule schedule schedule12 SENDERS ARE EXPRESSION TEMPLATES ex::sender auto work = ex::when_all( ex::schedule(sched) | ex::then([] { return0 码力 | 121 页 | 7.73 MB | 5 月前3陈东 - 利用Rust重塑移动应用开发-230618
重塑移动应用开发 Photo / image / chart Rust FFI On IOS - Rust targets for IOS - Build the static universal library for different target - Call the function on the swift code 利用 Rust 重塑移动应用开发 Photo / image / chart com/KeystoneHQ/rcc_android https://github.com/aaronisme/rcc_ios Rust Crypto Core Core business logic library , can be shared on different platform. - Signer - cryptography support - Blockchain Support 利用 Rust 重塑移动应用开发 Photo / image / chart RCC_Android 利用 Rust 重塑移动应用开发 - RCC_Andorid is an rust library which is to binding Rust code into Android application. - Use the crate rifgen, flapigen to0 码力 | 22 页 | 2.10 MB | 1 年前3C++20's
IANA time zone database. • This functionality requires several new types to be added to the library: • tzdb • tzdb_list • time_zone • zoned_time • time_zone_link • ambiguous_local_time • nonexistent_local_time for time zone data We had a few options... • Ship the entire IANA time zone database with the library The IANA time zone database is huge (1.25MB) – we would have some very unhappy customers if their for time zone data We had a few options... • Ship the entire IANA time zone database with the library The IANA time zone database is huge (1.25MB) – we would have some very unhappy customers if their0 码力 | 55 页 | 8.67 MB | 5 月前3C++高性能并行编程与优化 - 课件 - 01 学 C++ 从 CMake 学起
-C build • 以下命令和上一个等价,但更跨平台: • > cmake --build build • 执行生成的 a.out : • > build/a.out 为什么需要库( library ) • 有时候我们会有多个可执行文件,他们之间用到的某些功能是相同的,我们想把这些共用 的功能做成一个库,方便大家一起共享。 • 库中的函数可以被可执行文件调用,也可以被其他库文件调用。 可以生成可执行文件外,还可以通过 add_library 生成库 文件。 • add_library 的语法与 add_executable 大致相同,除了他需要指定是动态库还是静态库: • add_library(test STATIC source1.cpp source2.cpp) # 生成静态库 libtest.a • add_library(test SHARED source10 码力 | 32 页 | 11.40 MB | 1 年前3whats new in visual studio
basic_string and basic_string_view • Other small features 🕙 Coming next for C++23 • STL • Standard library modules • Coroutines 💡 C++98* * with /permissive- 💡 C++11 💡 C++14 💡 C++17 💡 C++20* *awaiting Team Productivity Simplify C++ dependency management with . vcpkg Open-source library manager for Windows, Linux, and macOS 1700+ popular open-source libraries available for installation Create your own private library catalog for use within vcpkg; great for internal, closed-source 3rd party libraries and community repositories 🔢 Versioning Choose which library versions you want (works0 码力 | 42 页 | 19.02 MB | 5 月前3Making Libraries Consumable for Non-C++ Developers
sort. The typical result is ... undefined. What compiler flags (clang) were used by the library? By the library consumer? -fsjlj-exceptions? -fignore-exceptions? -fdwarf-exceptions? -fseh-exceptions? to have thread affinity at interop boundaries. • Consider how the consumer’s tools work with your library’s memory model.Conclusion • Document what you want and assume. • Understand assumptions and be0 码力 | 29 页 | 1.21 MB | 5 月前3
共 21 条
- 1
- 2
- 3