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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
mishudark
November 07, 2019
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rust for Gophers
mishudark
November 07, 2019
Other Decks in Programming
See All in Programming
Contextとはなにか
chiroruxx
1
380
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
220
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
280
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
260
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
820
Webフレームワークの ベンチマークについて
yusukebe
0
190
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.5k
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
450
自作OSでスライド発表する
uyuki234
0
2.9k
A2UI という光を覗いてみる
satohjohn
1
170
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.1k
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
140
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
220
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
170
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
230
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
Design in an AI World
tapps
1
250
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
230
Google's AI Overviews - The New Search
badams
0
1.1k
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