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
Introduction to Rust LPW 2017
Search
Mark Sta Ana
November 25, 2017
Technology
0
150
Introduction to Rust LPW 2017
A talk I gave for London Perl Workshop 2017:
http://act.yapc.eu/lpw2017/
Mark Sta Ana
November 25, 2017
Tweet
Share
More Decks by Mark Sta Ana
See All by Mark Sta Ana
Learn Rust in 12 months - Month 01
booyaa
0
110
Rust Language Server And You!
booyaa
0
110
Generator X - The State of Rust Static Site Generators
booyaa
0
350
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
120
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
70
Rust London User Group Meetup #7
booyaa
0
76
Docker deep dive for WordPress admins
booyaa
0
210
Good Migrations
booyaa
0
64
Other Decks in Technology
See All in Technology
タスク管理も1on1も、もう「管理」じゃない - KiroとBedrock AgentCoreで変わった“判断の仕事”
yusukeshimizu
0
140
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
210
MIX AUDIO EN BROADCAST
ralpherick
0
120
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
110
韓非子に学ぶAI活用術
tomfook
4
1.2k
AI時代のIssue駆動開発のススメ
moongift
PRO
0
280
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
160
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
280
出版記念イベントin大阪「書籍紹介&私がよく使うMCPサーバー3選と社内で安全に活用する方法」
kintotechdev
0
110
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
0
140
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
160
OPENLOGI Company Profile for engineer
hr01
1
61k
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Making Projects Easy
brettharned
120
6.6k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
New Earth Scene 8
popppiees
1
1.9k
The SEO identity crisis: Don't let AI make you average
varn
0
430
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
190
Scaling GitHub
holman
464
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Transcript
An Introduction to Rust Mark Sta Ana @booyaa github.com/booyaa booyaa.wtf
Introduction
What’s Rust?
Systems Programming
Blazingly Fast
Time (secs) Benchmark / Language Rust C (gcc) reverse-complement 0.37
0.48 pidigits 1.74 1.74 k-nucleotide 5.21 6.67 fasta 1.49 1.32 spectral-norm 2.31 2.00 Source: The Computer Language Benchmarks Game
Performance Source: Rust Perf Site (perf.rust-lang.org)
Safety
Memory Safety
Memory Safety
Memory Safety
Installing Rust
rustup.rs
Visual Studio Code
Rust Language Service
Learning
intorust.com
The Rust Book
rustup doc —book
community.rs
Who’s Using Rust?
rust-lang.org/friends.html
Are We X Yet?
Calling Rust from Perl
New crate
New crate
Cargo.toml
Testing
Functions
Functions
FFI 1
FFI 2
FFI 3
FFI 4
None
Perl 1
Perl 2
Perl 3
bit.ly/rustyperl
FIN
References bit.ly/rust-lpw2017
None