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
introduce-rust.pdf
Search
Yoshihito
December 10, 2018
2
510
introduce-rust.pdf
Rustのご紹介 #LINE_DM
Yoshihito
December 10, 2018
Tweet
Share
More Decks by Yoshihito
See All by Yoshihito
TUI App in Rust
yoshihitoh
0
190
Custom Runtime Lambda empowered by Rust
yoshihitoh
0
2.9k
Rust tutorial - implement a cli tool.
yoshihitoh
0
230
regrowth2018-introduce-reinvent-sessions
yoshihitoh
0
910
mobilemethod-2-about-analytic-data.pdf
yoshihitoh
0
1k
cpp-library-on-browse-nodejs
yoshihitoh
0
2.5k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Docker and Python
trallard
40
3.1k
Site-Speed That Sticks
csswizardry
0
28
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Building Your Own Lightsaber
phodgson
103
6.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
How to Ace a Technical Interview
jacobian
276
23k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Scaling GitHub
holman
458
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Bash Introduction
62gerente
608
210k
Transcript
Rustͷ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹΫϥεϝιουגࣜձࣾ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ ɹɹฏ 1
About me • ԬΦϑΟεॴଐ • ϞόΠϧΞϓϦαʔϏε෦ • αʔόʔαΠυΤϯδχΞ • ೖࣾͯ͠1ͪΐͬͱ
• ͬͯΔ͜ͱ • AWSͷΠϯϑϥߏங • ϞόΠϧΞϓϦؔ࿈ͷαʔό։ൃ • ੳ༻σʔλͷऩू/Ճ (ETL) 2
Developers.IO 3
Rustͬͯʁ 4
Rust Rustɺ҆શੑɺฒߦੑͷ3ͭͷΰʔϧʹϑΥʔΧεͨ͠γεςϜϓϩάϥϛ ϯάݴޠͰ͢ɻ ಛ • θϩίετநԽ • ϜʔϒηϚϯςΟΫε • อূ͞ΕͨϝϞϦ҆શੑ
• σʔλڝ߹ͷͳ͍εϨου • τϨΠτʹΑΔδΣωϦΫε • ύλʔϯϚονϯά • ܕਪ • ࠷খݶͷϥϯλΠϜ • ޮతͳCόΠϯσΟϯά ެࣜαΠτ(چ) ΑΓҾ༻ 5
Rust (࠷৽) ެࣜαΠτ(৽) ΑΓҾ༻ 6
ੈքதͰѪ͞ΕΔϓϩά ϥϛϯάݴޠ Stack OverflowͷʮMost LovedʯͰ3࿈ଓ1Ґʂ (2016ʙ2018) • 2018 1. Rust
(78.9%) 2. Kotlin (75.1%) 3. Python (68.0%) • 2017 1. Rust (73.1%) 2. Smalltalk (67.0%) 3. TypeScript (64.1%) • 2016 1. Rust (79.1%) 2. SwiG (72.1%) 3. F# (70.7%) 7
h"ps:/ /insights.stackoverflow.com/survey/2016 8
h"ps:/ /insights.stackoverflow.com/survey/2017 9
h"ps:/ /insights.stackoverflow.com/survey/2018 10
༻్ʁ 11
ଟذʹΘͨΔ ެࣜαΠτ(৽) ΑΓҾ༻ 12
AWS LambdaͰ Custom Run1mes Λͬͯ ಈ͔ͤΔΑ͏ʹͳͬͨ • Ҿ༻ݩ • ࠨ:
AWS Open Source Blog h3ps:/ /aws.amazon.com/jp/blogs/opensource/rust-run?me-for-aws-lambda/ • ӈ: GitHub h3ps:/ /github.com/awslabs/aws-lambda-rust-run?me 13
࣮ࡍʹ͑Δͷʁ ϓϩδΣΫτͰ(ͪΐͬͱ͚ͩ)ͬͯ·͢ 14
Կ͕خ͍͠ʁ 15
※Ҏ߱ݸਓͷײͰ͢ 16
ڧྗͳΤίγεςϜ • ίϯύΠϥ • ॴ༗ݖϥΠϑλΠϜͷཧ • Τϥʔϝοηʔδ͕Θ͔Γ͍͢ • ΤίγεςϜ •
rustup • RustπʔϧνΣʔϯͷΠϯετʔϥʔ • cargo • RustͷύοέʔδϚωʔδϟ/Ϗϧυπʔϧ • ๛ͳυΩϡϝϯτ 17
ݴޠػೳ • ๛ͳඪ४ϥΠϒϥϦ • ڧྗͳܕγεςϜ • ޮతͳΤϥʔॲཧ • Cͱ࿈ܞ͍͢͠ •
ϋϚΓ͍͢ͱ͜Ζ͕ݴޠ༷Խ͞Ε͍ͯΔ 18
ϋϚΓ͍͢ͱ͜Ζ: C++ͷ߹ ίϯύΠϧͰ͖Δ͕࣮ߦ࣌ΤϥʔʹͳΔ 19
ϋϚΓ͍͢ͱ͜Ζ: Rustͷ߹ ίϯύΠϧΤϥʔʹͳΔ 20
ͭΒͦ͏ͳͱ͜Ζ • (ݱ࣌ͩͱ)ଞͷݴޠͱൺͯϥΠϒϥϦϑϨʔϜϫʔΫ͕গ ͳ͍ • ֶशίετ͕ߴ͍ • ಛʹॴ༗ݖɾϥΠϑλΠϜ͋ͨΓ 21
·ͱΊ • Rust͍ΖΜͳͰ͑Δ • ߴ͍ੜ࢈ੑ • ॻָ͍͍ͯͯ͠ʂ 22
ͥͻRustΛ͍͖ͬͯ·͠ΐ͏ 23
͓͠·͍ 24