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
Rust for Gophers
Search
mishudark
November 07, 2019
Programming
0
160
Rust for Gophers
mishudark
November 07, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
iOSでSVG画像を扱う
kishikawakatsumi
0
180
CSC305 Lecture 10
javiergs
PRO
0
330
Towards Transactional Buffering of CDC Events @ Flink Forward 2025 Barcelona Spain
hpgrahsl
0
120
Introduce Hono CLI
yusukebe
6
3.3k
Bakuraku E2E Scenario Test System Architecture #bakuraku_qa_study
teyamagu
PRO
0
140
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
180
三者三様 宣言的UI
kkagurazaka
0
340
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
320
Module Proxyのマニアックな話 / Niche Topics in Module Proxy
kuro_kurorrr
0
1.3k
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
370
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
2k
Register is more than clipboard
satorunooshie
1
370
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
720
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Gamification - CAS2011
davidbonilla
81
5.5k
Facilitating Awesome Meetings
lara
57
6.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Building an army of robots
kneath
306
46k
Why Our Code Smells
bkeepers
PRO
340
57k
A better future with KSS
kneath
239
18k
Transcript
For Gophers Rust @mishudark
No GC, but automatic memory management Memory
It is fast but*
Systems programming A replacement for C / C++
Safe
- Dangling pointers - Double Free - Null pointers
Josh Triplett(Intel) Rust is the future of systems programming, C
is the new Assembly
Josh Triplett(Intel) Achieving parity with C is exactly what got
me involved in Rust
None
First a bit of history
Graydon Hoare(2006)
Mozilla investment(2009)
Rust version(2015)
Rust version(2018)
How it looks like?
Immutable by default
The compiler hates to me
It is happy again
Dangling pointers
Dangling pointer
Ok, the compiler again …
Aha moment
Enums
Enums, values and generics!
Pattern matching
if Some…
match
Async / Await
Would you use it to solve a CC?
I’m very smart
ok, no
well
We have generics
Join5
Join4
Join3
We have MACROS
Evil magic code
Lifetimes
Easy right?
Not so fast
‘a
BOX, ARC, RC… :(
Onboarding time
Borrowing model
3-6 months full-time
None
Conclusions
- Low level - GC is not an option -
C interop - As safe as Go
Questions
Thanks @mishudark