Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
unsafe Rust を改めて学んでみる!
Search
Yuki Toyoda
January 27, 2020
2
440
unsafe Rust を改めて学んでみる!
2020/1/27 に発表した資料です
Yuki Toyoda
January 27, 2020
Tweet
Share
More Decks by Yuki Toyoda
See All by Yuki Toyoda
RustでWeb開発コソコソ噂話
helloyuk13
12
14k
SeaQL Projectsについて
helloyuk13
1
510
年末ですし、今年のRustの進捗の話をしましょう
helloyuk13
2
2.9k
SwiftでAWS Lambda
helloyuk13
0
210
Rustハンズオン@エウレカ社
helloyuk13
21
10k
Rust ハンズオン第6回 ベアメタル Rust 編
helloyuk13
0
340
Rust で Web アプリケーションはどこまで開発できるのか
helloyuk13
25
71k
Rustハンズオン第4回 Webバックエンド編
helloyuk13
2
690
Rustハンズオン第3回 基礎文法編
helloyuk13
3
940
Featured
See All Featured
Code Review Best Practice
trishagee
64
17k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
380
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Visualization
eitanlees
145
15k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Automating Front-end Workflow
addyosmani
1366
200k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
What's new in Ruby 2.0
geeforr
343
31k
How to Ace a Technical Interview
jacobian
276
23k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Transcript
# # 8
_RT S O )., - ( . W @ .
34 2 13 . 353
!
C - B Bnr o - C k h k
h u Csf B acC - R e t
- *const i32 *mut i32 unsafe {}
- - - - R - - -
!
!
1 4 3 1 2 . 1
!
e - a S O
!
! ʘߴϨΠϠʔΤϯδχΞʗ
!
. 3 1 4 4 3 2 1 4 W
1 4
. 3 1 4 4 3 2 1 4 W
1 4
- : :W O
None
✍
- h"ps://doc.rust-lang.org/nomicon/ L h"ps://doc.rust-jp.rs/book/second-edi9on/ch19-01-unsafe-rust.html - - - ! h"ps://os.phil-opp.com/
a bn t - - su - W f- e
f f- R -
# 8