Working 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 plays Model M clicky sounds.94 HACKING HOOKING WINDOWS95 HACKING HOOKING WINDOWS Raymond Chen, “Old New Thing”, https://devblogs.microsoft.com/oldnewthing/20060809-18/?p=3018396 Step 2: Model keyboard0 码力 | 121 页 | 7.73 MB | 5 月前3Making Libraries Consumable for Non-C++ Developers
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 MYLIB_CCONV. • Reference: llvm - CallingConv.h • Don’t throw exceptions across the boundary.Memory model https://gchandbook.org/ Garbage collection is really “automatic memory management”. - Reference counted - .NET - JVM - JavaScript Manual memory management is rarely advocated for anymore.Memory model – Manual Memory is allocated and deallocated directly. Allocation locations are static. ptr =0 码力 | 29 页 | 1.21 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 年前3THE FIRST EXPLORATION OF PROJECT SPARROW
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 年前3
共 7 条
- 1