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
730
RubyとJIT
naoys
0
140
将棋盤を画像認識したかった
naoys
0
1.5k
疎行列と Jaccard 類似度の高速計算
naoys
1
570
有理数集合の濃度
naoys
2
110
YARVの最適化について調べた
naoys
0
110
転職会議サービスのAWS移行記録
naoys
0
55
Anonymous Recursion in C++
naoys
0
400
入門AlphaGo
naoys
5
3.7k
Other Decks in Programming
See All in Programming
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.1k
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
250
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Amazon Nova Reelの可能性
hideg
0
250
チームの立て直し施策をGoogleの 『効果的なチーム』と見比べてみた
maroon8021
0
210
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
380
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
240
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
7
1.7k
[JAWS-UG横浜 #79] re:Invent 2024 の DB アップデートは Multi-Region!
maroon1st
0
120
Flatt Security XSS Challenge 解答・解説
flatt_security
0
800
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
140
Rubyでつくるパケットキャプチャツール
ydah
0
450
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
Practical Orchestrator
shlominoach
186
10k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Adopting Sorbet at Scale
ufuk
74
9.2k
The Cult of Friendly URLs
andyhume
78
6.2k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
3k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
11
900
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 • γϯϓϧʹॻ͚Δʂ