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 で乗り換え案内
Search
na-o-ys
March 29, 2017
Programming
0
610
Rust で乗り換え案内
https://github.com/na-o-ys/train-dijkstra-demo/blob/master/src/main.rs
na-o-ys
March 29, 2017
Tweet
Share
More Decks by na-o-ys
See All by na-o-ys
IoTと監視
naoys
1
700
RubyとJIT
naoys
0
140
将棋盤を画像認識したかった
naoys
0
1.5k
疎行列と Jaccard 類似度の高速計算
naoys
1
550
有理数集合の濃度
naoys
2
110
YARVの最適化について調べた
naoys
0
110
転職会議サービスのAWS移行記録
naoys
0
50
Anonymous Recursion in C++
naoys
0
400
入門AlphaGo
naoys
5
3.7k
Other Decks in Programming
See All in Programming
Macとオーディオ再生 2024/11/02
yusukeito
0
370
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
Better Code Design in PHP
afilina
PRO
0
120
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
Quine, Polyglot, 良いコード
qnighy
4
640
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Building an army of robots
kneath
302
43k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The Language of Interfaces
destraynor
154
24k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
RustͰΓ͑Ҋ ަ௨ωοτϫʔΫͷ࠷ܦ࿏୳ࡧ @na_o_ys
ަ௨ωοτϫʔΫ
࠷ܦ࿏ • ࠷ܦ࿏ ≒ Ҋ • ଂখۚҪӺ͔ΒࠇӺͷ࠷ܦ࿏ (ॴཁ࣌ؒɾ࿏ઢ) ΛٻΊΑ ࠇ
ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓ ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 5 5
μΠΫετϥ๏ • άϥϑͷ͋Δϊʔυ (࢝) ͔Β֤ϊʔυͷ࠷ܦ࿏ΛٻΊΔΞϧΰϦζϜ • جຊΞΠσΞ: • ֬ఆϊʔυ (࠷ܦ࿏͕طʹ͔͍ͬͯΔϊʔυ)
ʹྡͨ͠ϊʔυͷ͔࢝ΒͷڑΛ ܭࢉ͢Δ • ࠷ڑ͕͍ϊʔυΛ֬ఆͰ͖Δ ࢝ ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ 1 2 2
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 10 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 19 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 19 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ 24
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 19 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ 24 29
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 19 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ 24 29 31
μΠΫετϥ๏ ྫ: • ྡϊʔυͷ͏ͪ࠷ॴཁ͕͍࣌ؒͷΛ֬ఆ͢Δ ࠇ ଂখۚҪ ࡾୋ ٢ࣉ த ৽॓
ौ୩ ߴాഅ 10 9(ಛշ) 10(౦ઢ) 3 11 5 3 7 5 13 10 19 ֬ఆϊʔυ ະ֬ఆϊʔυ ྡϊʔυ 24 29 31 36
μΠΫετϥ๏ Rust ࣮ • https://github.com/na-o-ys/train-dijkstra-demo/blob/master/src/main.rs
DEMO
(demo) • ଂখۚҪ͔Βࠇ·Ͱ
(demo) • ࣌ؒଳʹΑͬͯಛշʹΓ͑
(demo) • தԝઢ͕ࢭ·ͬͨΒ౦ઢΛซ༻
·ͱΊ • μΠΫετϥ๏ • ࠷ܦ࿏Λղ͘ΞϧΰϦζϜ • Ҋ͕࡞ΕΔ • ޮత •
֤ϊʔυΛ࠷େ1ճ͔͠ௐͳ͍ • Ӻ1ສͱ͔Ͱ1ඵ͔͔ΒΜ • Rust ࣮ • https://github.com/na-o-ys/train-dijkstra-demo/blob/master/src/main.rs • γϯϓϧʹॻ͚Δʂ