RustBelt - Rust 的形式化语义模型
The own Predict • Exclusive Ownership & Mutable Borrow Examples • Rc Logics • Hoare Logic • Separation Logic Background ERC Project "RustBelt" 2015-2021 Unlike C/C++, Rust is a safe language But Languages and Systems, ETH Zürich RustBelt Project Background Iris: A Higher-Order Concurrent Separation Logic Framework RustBelt: Securing the Foundations of the Rust Programming Language Coq Proof coercion move mutable reborrow reborrow () drop new exclusive shared owns borrows Hoare Logic Logics C Precondition Postcondition Program Given the precondition “P”, if we execute the program0 码力 | 21 页 | 2.63 MB | 1 年前3C++20: An (Almost) Complete Overview
header files Modules 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 read, hard to localize No separation of format string and arguments printf() Not safe, not extensible Easier to read, no series of << insertion operators Separation of format string and arguments C++20: std::format() Safe and extensible Easy to read, no series of << insertion operators Separation of format string and arguments Positional arguments Easy to localize More performant than0 码力 | 85 页 | 512.18 KB | 5 月前3陈东 - 利用Rust重塑移动应用开发-230618
跨平台开发的优势和局 限性 Cons: - Performance - Native feature utilize - Existing Codebase 跨平台开发到到底 应该跨什么? UI or Logic ? 利用 Rust 重塑移动应用开发 Rust 在移动端应 用的价值 Rust is the only advanced choice for cross platform development 利用 Rust 重塑移动应用开发 Photo / image / chart 采用 Rust 重构业务逻 辑的背景和动机 Performance The same business logic will run on different platforms such as embedded devices, IOS, Android, etc. It is an inevitable inevitable choice for our business to choose a language that can support multiple platforms. Share Logic 利用 Rust 重塑移动应用开发 Keystone App is a mobile application developed with React native. Due to some computationally0 码力 | 22 页 | 2.10 MB | 1 年前3唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
Application Components The EightFish Application Network Topology How to Write Logic How to Write Logic How to Write Logic ➔ Docker compose, yaml configure file ➔ One command to boot up and deploy ➔ 50 码力 | 30 页 | 2.53 MB | 1 年前3使用硬件加速Tokio - 戴翔
Memory/Cache latency • CPU cycles latency DLB : Dynamic Load Balance DLB Enqueue Logic Head and Tail pointers Dequeue Logic & Load Balancer Producer Producer Consumer Consumer Consumer • No Synchronization0 码力 | 17 页 | 1.66 MB | 1 年前3基于Rust-vmm实现Kubernetes运行时
SELinux, AppArmor, Seccomp, cgroup VM-based Sandbox Kata-container BareMetal Only Heavy control logic Application kernel based Sandbox gVisor Compatibility problem, Bottleneck in sentry mVMd + QEMU0 码力 | 27 页 | 34.17 MB | 1 年前3
共 6 条
- 1