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
650
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rust で乗り換え案内
https://github.com/na-o-ys/train-dijkstra-demo/blob/master/src/main.rs
na-o-ys
March 29, 2017
More Decks by na-o-ys
See All by na-o-ys
IoTと監視
naoys
1
830
RubyとJIT
naoys
0
190
将棋盤を画像認識したかった
naoys
0
1.6k
疎行列と Jaccard 類似度の高速計算
naoys
1
680
有理数集合の濃度
naoys
2
160
YARVの最適化について調べた
naoys
0
160
転職会議サービスのAWS移行記録
naoys
0
92
Anonymous Recursion in C++
naoys
0
450
入門AlphaGo
naoys
5
3.8k
Other Decks in Programming
See All in Programming
仕様駆動開発の消費期限
watany
20
8.2k
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
200
Built Our Own Background Agent at LayerX
layerx
PRO
10
5.3k
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
250
Building a Meta Ray-Ban display app
akkeylab
0
130
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
140
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
250
Android CLI
fornewid
0
220
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
120
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
570
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.5k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
A designer walks into a library…
pauljervisheath
211
24k
Facilitating Awesome Meetings
lara
57
7.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
410
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
How STYLIGHT went responsive
nonsquared
100
6.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
370
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
The Language of Interfaces
destraynor
162
27k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
660
Raft: Consensus for Rubyists
vanstee
141
7.6k
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 • γϯϓϧʹॻ͚Δʂ