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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
180
将棋盤を画像認識したかった
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
440
入門AlphaGo
naoys
5
3.8k
Other Decks in Programming
See All in Programming
dRuby over BLE
makicamel
2
380
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
870
Agentic UI
manfredsteyer
PRO
0
180
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
160
Contextとはなにか
chiroruxx
1
350
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.3k
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
130
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
120
Lessons from Spec-Driven Development
simas
PRO
0
220
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
350
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
360
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
350
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
The Spectacular Lies of Maps
axbom
PRO
1
820
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
How STYLIGHT went responsive
nonsquared
100
6.2k
Practical Orchestrator
shlominoach
191
11k
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 • γϯϓϧʹॻ͚Δʂ