Concurrency in RustConcurrency in Rust Alex Crichton ## What's Rust? Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. ## Concurrency? Rust? Libraries • Deadlocks • Use after free Exploitable! • Double free Concurrency? Rust? Libraries Futures ## What's Rust? Rust is a systems programming language that runs blazingly fast, prevents segfaults auto& elem = vector[0]; vector.push_back(some_string); cout << elem; } ## Rust's Solution Ownership/Borrowing  Martin Geisler ## Contents Welcome to Comprehensive Rust 👑👑 1 Running the Course 13 1.1 Course 2.1 The Rust Ecosystem 18 2.2 Code Samples in This Training 19 2.3 Running Code Locally with Cargo 20 I Day 1: Morning 22 3 Welcome to Day 1 23 4 Hello, World 25 4.1 What is Rust? 25 4.2 2 Benefits of Rust 26 4.3 Playground 26 5 Types and Values 28 5.1 Hello, World 28 5.2 Variables 29 5.3 Values 29 5.4 Arithmetic 30 5.5 Type Inference 30 5.6 Exercise: Fibonacci 31 5.60 码力 | 378 页 | 1009.46 KB | 2 年前3
Comprehensive RustComprehensive Rust  Martin Geisler ## 차례 Comprehensive Rust 에 오신 것을 환영합니다 👑 1 강의전행 12 1.1 강의구성 13 1.2 단축키 15 1 강의에서의 코드샘플 18 2.3 로컬 환경의카고 19 I 1 일차 오전 20 3 1 일차개요 21 4 Hello World! 23 4.1 러스트란? 23 4.2 Rust 의이점 23 4.3 플레이그라운드 24 5 타입 및값 26 5.1 Hello World! 26 5.2 변수 27 5.3 값 27 5.4 연산 28 5 30.6 안전하지 않은 트레잇구현하기 182 30.7 FFI 래퍼 183 30.7.1 해답 185 IX 안드로이드 189 31 Welcome to Rust in Android 190 32 설치 191 33 빌드규칙 192 33.1 러스트라이너리 193 33.2 러스트라이브러리 193 34 AIDL0 码力 | 368 页 | 1.29 MB | 1 年前3
2021-11-22 - Rust CTCFT - Rust for Linux## Rust for Linux Miguel Ojeda Wedson Almeida Filho Alex Gaynor ## I ntroduction Rust for Linux aims to add Rust support to the Linux kernel. We believe Rust offers key improvements over C in this domain in the improvement of Rust for everyone! Language Library Tooling ## Nightly features A general priority is to stabilize them (or to find alternatives): https://github.com/Rust-for-Linux/linux/issues/2 } } ## Memory model: future potential Unified/Compatible Linux kernel and Rust memory models: No need to use inline assembly to define a new memory model. Language-supported address0 码力 | 53 页 | 332.50 KB | 1 年前3
RUST AS A CASE STUDY## BENEFITS AND DRAWBACKS OF ADOPTING A SECURE PROGRAMMING LANGUAGE: RUST AS A CASE STUDY Kelsey Fulton, Anna Chan, Daniel Votipka, Michelle Mazurek, Michael Hicks # Memory safety vulnerabilities remain https://www.zdnet.com/article/chrome-70-of-all-security-bugs-are-memory-safety-issues/ ## Case Study: Rust ■ Attempt safety and performance (e.g., no GC) ☑ Useful where C/C++ are hardest to replace What language? ## Case Study: Rust ■ Semi-structured interview with senior developers (I = 16) ☑ Survey with Rust community (S = 178) ## Learning Rust ☑ Rust is hard to learn. ### Rust has “a near-vertical learning0 码力 | 19 页 | 3.37 MB | 2 年前3
Real world Rust
- Why and how we use Rust in TiKVReal world Rust Why and how we use Rust in TiKV 黄东旭 PingCAP 技术架构未来 thegiac.com ## 关于我 ● 黄东旭 Dongxu_Huang • Open source hacker / Infrastructure Engineer • MSRA / Netease / Wandoujia / PingCAP CTO PingCAP • Codis / TiDB / TiKV • Go / Python / Rust ...  ## What's Rust • Yet another system programming language o Alternative to C/C++  ## Why Rust? ## • Safe ○ Thread safety guarantee ☐ Segfaults free ## • Blazingly fast ☐ Ilvm backend ☐ No0 码力 | 29 页 | 506.53 KB | 2 年前3
Comprehensive Rust(Ukrainian) 202412Comprehensive Rust  Martin Geisler ## 3 MICT Ласкаво просимо в Comprehensive Rust 11 1 Проведения курсу 13 1.1 Структура Екосистема Rust 19 2.2 Приклади коду в цьому курсі 21 2.3 Запуск коду локально за допомогою Cargo 21 I День 1: Ранок 23 3 Ласкаво просимо до Дня 1 24 4 Hello World! 26 4.1 Що таке Rust? 26 26 4.2 Переваги Rust 27 4.3 Ігровий майданчик 27 5 Типи та значення 29 5.1 Hello World! 29 5.2 Змінні 30 5.3 Значення 30 5.4 Арифметика 31 5.5 Виведення типів 31 5.6 Вправа: Фібоначчі0 码力 | 396 页 | 1.08 MB | 1 年前3
Comprehensive Rust(Persian ) 202412👶 Comprehensive Rust Martin Geisler ## □□□□□ □□□□□ 11 Comprehensive Rust 38 6.4.1 39 6.5 39 6.6 40 6.7 42 6.7.1 43 6.7 44 7 45 8 46 8.2 47 8.3 47 8.4 47 8.5 49 8.5.1 269 270 271 272 273 274 275 276 277 278 279 280 281 Chromium C++ ☐ Rust Code ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ ☐ 281 probe-rs and cargo-embed 51.7 282 (Debugging) 51.7.1 282 51.8 284 52 284 Bare Metal Rust 52.1 286 52.2 290 :Bare Metal ☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐☐0 码力 | 393 页 | 987.97 KB | 1 年前3
Comprehensive Rust(English) 202412Comprehensive Rust  Martin Geisler ## Contents Welcome to Comprehensive Rust 👑👑 1 Running the Course 13 1.1 Course 2.1 The Rust Ecosystem 19 2.2 Code Samples in This Training 20 2.3 Running Code Locally with Cargo 21 I Day 1: Morning 23 3 Welcome to Day 1 24 4 Hello, World 26 4.1 What is Rust? 26 4.2 2 Benefits of Rust 27 4.3 Playground 27 5 Types and Values 29 5.1 Hello, World 29 5.2 Variables 30 5.3 Values 30 5.4 Arithmetic 31 5.5 Type Inference 31 5.6 Exercise: Fibonacci 32 5.60 码力 | 382 页 | 1.00 MB | 1 年前3
Comprehensive Rust(日语) 202412Comprehensive Rust  Martin Geisler ## 目次 Comprehensive Rust へようこそ 1 講座の運営について 1.1 講座の構成 1.2 キーボードショートカット 1.3 翻訳 翻訳 2 Cargo の使用 2.1 Rust エコシステム 2.2 講座のサンプルコード 2.3 Cargo を使ってローカルで実行 I Day 1 : AM 3 Day 1 へようこそ 4 Hello, World 4.1 Rust とは? 4.2 Rust のメリット 4.3 プレイグラウンド 5 型と値 5.1 Hello, World 5 thiserror 180 29.7 anyhow 181 29.8 演習:Result を使用した書き換え 182 29.8.1 解答 184 30 Unsafe Rust 187 30.1 Unsafe Rust 187 30.2 生ボインタの参照外し 188 30.3 可変な static 変数 189 30.4 共用体 189 30.5 Unsafe 関数の呼び出し0 码力 | 381 页 | 1.36 MB | 1 年前3
共 491 条
- 1
- 2
- 3
- 4
- 5
- 6
- 50
相关搜索词













