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
170
Rust for Gophers
mishudark
November 07, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
CSC307 Lecture 07
javiergs
PRO
0
550
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Data-Centric Kaggle
isax1015
2
770
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
210
CSC307 Lecture 09
javiergs
PRO
1
830
AI巻き込み型コードレビューのススメ
nealle
1
190
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
CSC307 Lecture 04
javiergs
PRO
0
660
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Git: the NoSQL Database
bkeepers
PRO
432
66k
How to Talk to Developers About Accessibility
jct
2
130
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Statistics for Hackers
jakevdp
799
230k
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