陈东 - 利用Rust重塑移动应用开发-230618
2); Photo / image / chart Rust FFI Rust FFI (Foreign Function Interface) refers to the ability of Rust programming language to interface with code written in other languages, typically C or C++. FFI types of apps, this can help you reuse code libraries written in those languages. - JNI JNI is an interface that allows Java to interact with code written in another language. Motivation for JNI is code Rust code into Android application. - Use the crate rifgen, flapigen to generate the java interface for rust code. - Wrap the whole rust code as an independent android library RCC_IOS 利用 Rust0 码力 | 22 页 | 2.10 MB | 1 年前3Making Libraries Consumable for Non-C++ Developers
interoperability? Don’t touch it! Glue code? Boiler plate? A nightmare? Application binary interface (ABI) Calling conventions Marshalling Was I supposed to free that? Was I not supposed to free Common Object Model (COM) – 1993 Foreign function interface (libffi) – 1996 Simplified Wrapper and Interface Generator (SWIG) – 1996 JVM – Java Native Interface (JNI) – 1997 .NET – Platform Invoke (P/Invoke)0 码力 | 29 页 | 1.21 MB | 5 月前3hazard pointer synchronous reclamation
objects that may be removed concurrently. SAFE RECLAMATION Concurrency TS2 Essential Hazard Pointer Interface Base class for protectable objects templateclass hazard_pointer_obj_base { void Doesn’t cover all retired objects. • Stronger: Seamlessly handles dependent retirement. Cohort Interface Hazard Pointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael Base class for protectable make_hazard_pointer(); // Nonempty void swap(hazard_pointer&, hazard_pointer&) noexcept; Cohort Interface (preliminary) Hazard Pointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael // Extend 0 码力 | 31 页 | 856.38 KB | 5 月前3C++20: An (Almost) Complete Overview
explicitly state what should be exported (e.g. classes, functions, …) Separation into module interface files and module implementation files is possible but not needed Can be structured with submodules Order of module imports is not important8 Modules Create a module: // cppcon.cppm – Module Interface File export module cppcon; // Module declaration namespace CppCon { auto GetWelcomeHelper() {0 码力 | 85 页 | 512.18 KB | 5 月前3使用硬件加速Tokio - 戴翔
Message-ID Reclaiming Message- Ownership Tracking DLB-Assist Channel • Compatible channel interface • Compatible features Escape ? MPMC Test Scenario MPMC channel allows: • Adding new entries0 码力 | 17 页 | 1.66 MB | 1 年前3基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺
= Time-Series Database + Caching + Data Subscription + Stream Processing Shell: Command Line Interface High Performance, Cloud Native Simplified Solution for Time-Series Data TDengine Telegraf Kafka0 码力 | 29 页 | 2.26 MB | 1 年前3NativeScript 101
Two easy ways to use NativeScript 1) 2) NativeScript Sidekick NativeScript CLI Command Line Interface (CLI) o Use Command Prompt (Win) or Terminal (Mac, Linux) o Free, Part of open source project0 码力 | 90 页 | 40.11 MB | 1 年前3C++20 STL Features: 1 Year of Development on GitHub
and conflicting parts • Layout compatibility; works with T within C structs • Near-identical interface • Encapsulates platform/architecture-specific code • atomic/atomic_ref support wait/notify_one/notify_all200 码力 | 45 页 | 702.09 KB | 5 月前3C++20's
Community by Daniel Havey35 Part V: Time Zones36 Time Zones ([time.zone]) • chrono now includes an interface for accessing the IANA time zone database. • This functionality requires several new types to0 码力 | 55 页 | 8.67 MB | 5 月前3C++23: An Overview of Almost All New and Updated Features
Defined in New adaptors on top of basic sequence containers Associative container interface (similar to std::map) unique keys (flat_map) fast retrieval of values based on a key Keys 0 码力 | 105 页 | 759.96 KB | 5 月前3
共 11 条
- 1
- 2