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 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 The } } } ## 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-supported0 码力 | 53 页 | 332.50 KB | 1 年前3
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
The Linux Commands Handbook## CLI HANDBOOK # Table of Contents Preface The Linux Handbook Conclusion ## Preface The Linux Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal goal is to get you up to speed quickly with Linux. This book is written by Flavio. I publish programming tutorials on my blog flaviocopes.com and I organize a yearly bootcamp at bootcamp.dev. You can reach reach me on Twitter @flaviocopes. Enjoy! ## The Linux Handbook • 1. Introduction to Linux • 2. man • 3. ls • 4. cd • 5. pwd • 6. mkdir • 7. rmdir • 8. mv • 9. cp • 10. open • 11. touch • 120 码力 | 112 页 | 13.74 MB | 2 年前3
THE LINUX COMMAND LINEINTERPRETED LANGUAGES BROKEN INTERPRETED PROGRAMS CREATING INTERPRETER HARD SYMBOLIC Linux community, 149 Linux distributions, 149 CentOS, 150, 294 Debian, 150, 297 Fedora, xxviii 150 Red Hat Enterprise Linux, 150 Slackware, 150 Ubuntu, xxviii, 149–150, 294 Xandros, 150 Linux Filesystem Hierarchy Standard, 19, 312 Linux kernel, xxv, xxix, 19, 43, 950 码力 | 15 页 | 2.13 MB | 2 年前3
The Linux Commands Handbookjpg) # COMMANDS HANDBOOK Flavio Copes ## Table of Contents |Preface| |---| |Introduction to Linux and shells| |man| |ls| |cd| |pwd| |mkdir| |rmdir| |mv| |cp| |open| |touch| |find| |ln| |gzip| |gunzip| |traceroute| |clear| |history| |export| |crontab| |uname| |env| |printenv| |Conclusion| ## Preface The Linux Commands Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. I find this gives a well-rounded overview. This book does not try to cover everything under the sun related to Linux and its commands. It focuses on the small core commands that you will use the 80% or 90% of the time0 码力 | 135 页 | 14.14 MB | 2 年前3
Linux Docker Mess## Linux wangxiaodong@ouc.edu.cn  ## Linux History ■ 1991年4月,芬兰赫尔辛基大学计算机系研究生Linus Torvalds开始为一个以后被称为“Linux”的内核而工作。(后附Linus的邮件) Torvalds在新闻组comp.os.minix发表了Linux V0.01,约有一万行代码。 ■ 1992年,全世界大约有1000个左右的人使用Linux,并有不少人提供初期的代码上载和评论。 ■ 1993年,大约由100多个程序员参与内核代码修改,内核核心由5人组成,V0.99约有十万行代码。 ■ 1993年12月,Linux全球用户数约在10万左右。 ■ 1994年3月,Linux1.0问世,约有17万行代码 0问世,约有17万行代码。它完全按自由免费的协议发布,源码必须完全公开,之后很快Linux正式采用GPL协议。 ■ 1995年,Linux全球用户数大大超过50万,Linux已可在Intel、Digital和Sun SPARC处理器上运行,Linux Journal杂志已发行了10万册。内核发展到1.2,约有25万行代码。 ## Linux History ## ■ 第一篇Linux帖子 From: torvalds@klaava0 码力 | 77 页 | 7.40 MB | 2 年前3
linux for human beings## ubuntu ## ☐ ## ubuntu ## linux for human beings ## ubuntu  ## ubuntu linux for human beings0 码力 | 4 页 | 1.17 MB | 1 年前3
Building Linux Distribution(Linux 分布式)- 贾晓宇## RUST CHINA CONF 2023 第三届中国Rust开发者大会 6.17-6.18 @Shanghai ## Building Linux Distribution from Scratch with Rust Speaker: Jia Xiaoyu ## CONTENTS O1 Why choose rust? O2 Using Rust and LFS build linux linux distro O3 What rkos brings us? ## Why do we choose Rust? ## Why do we choose rust? Vulnerabilities By Type  The of vulnerabilities by type in the GNU since 1999 (data from: CVE Details) # Why do we want to use Rust to build most of the things in the Operating system? 1. If you have a very large (millions of lines0 码力 | 19 页 | 723.62 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













