唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
serverless layer • A single-core CPU machine • Is serverless really the next stage of Internet? Or just a gimmick by cloud platform ➔ Wants to extend the financial computation/storage model to general Web3: Technical Viewpoint Financial Model: Account=>Balance ➔ Relatively closed dataset, linear increasement against account set ➔ One dimension Internet Model: Any ➔ Open dataset, data will increase 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 年前3Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit
templates • Use the ArcGIS toolkit to use already existing UI componentsTime aware layer • We will be using a feature layer that include hurricane data as features • Each feature has a specific start time on the map • The JSON of the feature layer includes all the necessary information for the time slider - Start and end dates, time interval, etc. - Feature layer URLArcGIS Runtime for Qt - SDK • The manually or animate the time extent on GeoView - It initializes all required values using data from the layer - You can customize several UI elementsResources • ArcGIS Runtime API for Qt - https://developers0 码力 | 10 页 | 734.09 KB | 5 月前3NativeScript 101
iOS Example JavaScript Runs on V8 JavaScript VM Runs on JavaScriptCore VM NativeScript Module Layer (NML) o Abstractions on native APIs provide unified, cross-platform API o Dozens available out out of the box o Easy for developers to add o All native APIs still available at JavaScript layer for platform-specific scenarios o NativeScript modules follow Node module conventions (CommonJS) Example:0 码力 | 90 页 | 40.11 MB | 1 年前3Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!
reference count atomicref_count … std::atomic ctrl Introduce a second layer of reference counting on the atomic instance itself! struct counted_cb { control_block* 0 码力 | 45 页 | 5.12 MB | 5 月前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 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新一代分布式高性能图数据库的构建 - 沈游人
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
共 10 条
- 1
相关搜索词
唐刚UseRusttoDeveloptheDecentralizedOpenDataApplicationRustChinaConf2023VisualizeTimeEnabledusingArcGISQtC++andToolkitNativeScript101pptxLockFreeAtomicSharedPointersWithoutSplitReferenceCountItCanBeDoneWorkingwithAsynchronyGenericallyTourofExecutorsMakingLibrariesConsumableforNonDevelopers游人RustCCAtlasGraphCoachingAgileTeams王俊吉RustConf2023RustBelt李枫2023RustChinaConf__SparrowFengLi20230614aofficialtemplate