C++23: An Overview of Almost All New and Updated Features
Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++204 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes Containers Heterogeneous Erasure Removed Features Garbage Collection SupportC++23 Core Language6 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript int n) { if (n < 2) { return n; } return self(n - 1) + self(n - 2); };12 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes0 码力 | 105 页 | 759.96 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南
find_package(OpenCV REQUIRED COMPONENTS core videoio) • 查找名为 OpenCV 的包,找不到就报错,且必须具有 OpenCV::core 和 OpenCV::videoio 这 两个组件,如果没有这两个组件也会报错。 • find_package(OpenCV REQUIRED OPTIONAL_COMPONENTS core videoio) • 查找名为 OpenCV OpenCV 的包,找不到就报错,可具有 OpenCV::core 和 OpenCV::videoio 这两个 组件,没有这两组件不会报错,通过 ${OpenCV_core_FOUND} 查询是否找到 core 组件。 find_package 说是找“包”,到底是在找什么? • find_package(OpenCV) 实际上是在找一个名为 OpenCVConfig.cmake 的文件。 • 注:出于历史兼容性考虑,除了 Qt5Config.cmake 是你安装 Qt5 时,随 libQt5Core.so 等实际的库文件,一起装到你的 系统中去的。以我的 Arch Linux 系统为例: • 包配置文件位于 /usr/lib/cmake/Qt5/Qt5Config.cmake 。 • 实际的动态库文件位于 /usr/lib/libQt5Core.so 。 find_package 说是找“包 (package)”0 码力 | 56 页 | 6.87 MB | 1 年前3使用硬件加速Tokio - 戴翔
of the box, it also provides the knobs needed to fine tune to different cases. Flexible Tokio Core Queue-Based Modules in Tokio • Channel • Scheduler • Tokio uses Channel for communication between Senders Senders Receive Receivers Perf Gaps: CAS(Compare And Swap) can't perfectly scale with core count. Tokio Channel • Each worker has own run queue • Steal when own run queue is empty From Adding new entries from any core or thread • Picking the next entry by any core or thread Conclusion: • DLB channel scales with core count much better than SW channels • Core count >2 shows advantage0 码力 | 17 页 | 1.66 MB | 1 年前3Rust 异步并发框架在移动端的应用 - 陈明煜
能不如 Tokio smol Rayon 并非异步运行时。它通过同步 多线程模型提供了并行迭代器功能, 适用于处理 CPU 密集型计算任务 rayon 现有框架无法完美适配移动端(一) Core Thread Thread Worker Worker task task Local queue Local queue Tokio 采用了如右图这种 GMP 模式: • 一核可以绑定多线程,每个线程拥有一个 queue Core 高权重线程 Worker Worker 任务优先级调度 根据工作线程的优先级进行绑核(大小核) • 高优先级任务在大核执行,高性能 • 低优先级任务在小核执行,节省能耗 Task priority and quality of service Big Core Little Core 高优先级线程 低优先级线程 普通优先级线程 Set core-affinity0 码力 | 25 页 | 1.64 MB | 1 年前3陈东 - 利用Rust重塑移动应用开发-230618
Crypto Core 利用 Rust 重塑移动应用开发 RCC_android RCC_ios https://github.com/KeystoneHQ/rust-crypto-core https://github.com/KeystoneHQ/rcc_android https://github.com/aaronisme/rcc_ios Rust Crypto Core Core0 码力 | 22 页 | 2.10 MB | 1 年前3nativescript-new-looper-vantoll.pptx
rock! ? TJ and Jen ? @tjvantoll @jenlooper What’s new in…. • Core ? • Tooling ? • Plugins ? • Community ? • Apps ? Core ? Core ? • CLI updates ? • Webpack ? • Threading ⛓ • Angular ? LiveSync0 码力 | 36 页 | 10.78 MB | 1 年前3NativeScript 101
What can we cover today? oRise of "JavaScript-driven Native" oIntro to NativeScript oNativeScript core concepts o“Hello World” oExtending with plugins oDebugging JavaScript Why are we here? How did NativeScript Intro to NativeScript What is it? How does it work? 2013 2014 2015 2016 2017 Early prototype s “Core” engineerin g Public launch Adoption ramp-up Mass adoption Project Timeline NativeScript changes to JS, CSS, XML o No re-build o Works with emulators AND devices DEMO NativeScript Core Concepts Let’s look at the and Defining Views Pages/Views o XML markup structure o0 码力 | 90 页 | 40.11 MB | 1 年前3Introduction to Mobile UI Test Automation
test Use language of choice Use known APIs (webdriver) Functional Tests Core www.github.com/NativeScript/functional-tests-core Open source Java Appium Easy to write tests Single code base for both0 码力 | 41 页 | 4.75 MB | 1 年前3唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
tech stack, e. g. Ethereum ➔ A world-wide unified network to provide a serverless layer • A single-core CPU machine • Is serverless really the next stage of Internet? Or just a gimmick by cloud platform DApp focuses on TOKEN and tokenizing other things ➔ODA focuses on DATA and the OPENNESS of the data Core Difference Between ODA and Web3 DApp ➔If I opened my database to others, how would I get profits0 码力 | 30 页 | 2.53 MB | 1 年前3Harbor Deep Dive - Open source trusted cloud native registry
system scopes • Mark labels to image and chart Harbor Architecture API Routing API Routing Core Service (API/Auth/GUI) Image Registry Trusted Content Vulnerability Scanning Job Service0 码力 | 15 页 | 8.40 MB | 1 年前3
共 12 条
- 1
- 2