Making Libraries Consumable for Non-C++ Developers
on in-process interoperability.Run down of some approaches Just be like C? – post-1972 Common Object Model (COM) – 1993 Foreign function interface (libffi) – 1996 Simplified Wrapper and Interface Generator sizeof(size_t) MSYS2 compile of gcc, sizeof(long) == 4You can make interop suck less by… Explicitly state/document argument content. • Instead of long or int, use int64_t or int32_t. • String encoding is not the less by… Explicitly state/document argument content. • Instead of long or int, use int64_t or int32_t. • String encoding is not the same as “width”. Explicitly state/document/reference function conventions0 码力 | 29 页 | 1.21 MB | 5 月前3THE FIRST EXPLORATION OF PROJECT SPARROW
https://ieeexplore.ieee.org/document/9398963 https://ieeexplore.ieee.org/document/9398960 https://ieeexplore.ieee.org/document/9336682 https://ieeexplore.ieee.org/document/9105619 … https://sel4 Background HW SW I. Background https://www.raspberrypi.com/products/raspberry-pi-3-model-b-plus/ HW SW RPi3 B+ (1G LPDDR2) 1) CantripOS(KataOS) 1.1 Getting started0 码力 | 68 页 | 13.14 MB | 1 年前3Working with Asynchrony Generically: A Tour of C++ Executors
keyboard events and plays Model M clicky sounds.83 MODEL M SIMULATOR: STRATEGY 1. Model a key click as a sender 2. Model keyboard input as a range of senders 3. Model interrupt (e.g., Ctrl-C) as into clicky noises until interrupt sender completes. 5. ??? 6. Profit!84 Step 1: Model key click as a sender85 MODEL KEYCLICK AS SENDER: STRATEGY 1. Assume system API for registering keyboard callback a sender whose operation state: calls the lambda in its start() function stores the returned object in the operation state91 “SYSTEM” API FOR REGISTERING KEYBOARD CALLBACK // Fake system API for0 码力 | 121 页 | 7.73 MB | 5 月前3唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
financial computation/storage model to general cases • Limites of On-chain VM computation • Limites of MPT • Limites of K-V db Problems of Web3: Technical Viewpoint Financial Model: Account=>Balance ➔ Relatively Relatively closed dataset, linear increasement against account set ➔ One dimension Internet Model: Any ➔ Open dataset, data will increase quickly on any dimension. ➔ Multiple dimensions Dataset Models platform, but open its data to everyone. ➔ Why we need open data? The business of the closed data model has been at the end. A New Proposal: Open Data Application The Road to Open Web ➔ From the user0 码力 | 30 页 | 2.53 MB | 1 年前3新一代分布式高性能图数据库的构建 - 沈游人
tools • Lots of amazing libraries Rust 编译通过了 bug 比 cpp 少上 百倍 !!! 图模型—— Labeled Property Graph Model Arbitrary (key,value) pairs where key identifies a property and value is the corresponding value Optimization rules: MATCH -> pushdown Planning Strategies Graph Execution Code Gen JIT Cost model Storage backend ( Property Graph KV store ) Pushdown filter Cypher (a)-[:LIKES]->(b) 计算下推:面向图应用特征设计0 码力 | 38 页 | 24.68 MB | 1 年前3Coaching Agile Teams
outcomes • Take it to the team • Be a mirror • Master your words & face • Let there be silence • Model being outrageous • Let the team fail • Be their biggest fan Lyssa Adkins Self-Assess FirstSelf0 码力 | 15 页 | 608.54 KB | 5 月前3RustBelt - Rust 的形式化语义模型
type “τ”; ∗¿full ⟦? ⟧ (∃?.ℓ↦ ?∗⟦ ? ⟧ .???(?)) ℓ ↦∗ ⟦τ ⟧.own ℓ ↦∗ ⟦τ ⟧.own Rc(simplified model, without weak references) Examples It owns a location value “ℓ”; : partially owned (.i.e. can alias) 0 码力 | 21 页 | 2.63 MB | 1 年前3Bringing Existing Code to CUDA Using constexpr and std::pmr
RiskLab team at CSIRO on applied mathematics for Financial Risk. • The aim of this talk is to: • Document some of the challenges in applying the principles from introductory CUDA examples to an existing0 码力 | 51 页 | 3.68 MB | 5 月前3C++23: An Overview of Almost All New and Updated Features
Founder of the Belgian C++ Users Group (BeCPP) C++204 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes on Lambda-Expressions Features Garbage Collection SupportC++23 Core Language6 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes on Lambda-Expressions Erasure Removed Features Garbage Collection Support7 Explicit Object Parameters Instead of implicit this, explicitly specify the object parameter Example: class Cell { public: void setValue(double0 码力 | 105 页 | 759.96 KB | 5 月前3hazard pointer synchronous reclamation
Safe to delete A A 7 8 SAFE ACCESS If a hazard pointer points to an object before its removal, then the object will not be reclaimed as long as the hazard Concurrency TS2 – Maged Michael Cohorts Cohorts • A cohort is a set of retired objects. • A retired object can belong to at most one cohort. • The completion of a cohort’s destructor guarantees the completion Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael • Pop all objects from domain cohort object list and lock list • Why lock? Concurrent cohort destructors. • Read all hazard pointer values. •0 码力 | 31 页 | 856.38 KB | 5 月前3
共 22 条
- 1
- 2
- 3
相关搜索词
MakingLibrariesConsumableforNonC++Developers李枫2023RustChinaConf__SparrowFengLi20230614aofficialtemplateWorkingwithAsynchronyGenericallyTourofExecutors唐刚UseRusttoDeveloptheDecentralizedOpenDataApplicationRustChinaConf2023游人RustCCAtlasGraphCoachingAgileTeams王俊吉RustConf2023RustBeltBringingExistingCodeCUDAUsingconstexprandstdpmr23AnOverviewAlmostAllNewUpdatedFeatureshazardpointersynchronousreclamation