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
530
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
210
Custom Runtime Lambda empowered by Rust
yoshihitoh
0
3.1k
Rust tutorial - implement a cli tool.
yoshihitoh
0
260
regrowth2018-introduce-reinvent-sessions
yoshihitoh
0
990
mobilemethod-2-about-analytic-data.pdf
yoshihitoh
0
1.1k
cpp-library-on-browse-nodejs
yoshihitoh
0
2.7k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
GraphQLとの向き合い方2022年版
quramy
49
14k
Building an army of robots
kneath
306
46k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Building Adaptive Systems
keathley
44
2.8k
Practical Orchestrator
shlominoach
190
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The Language of Interfaces
destraynor
162
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
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