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
[alpha] dRuby Hiroba
Search
seki at druby.org
June 02, 2013
Programming
1
490
[alpha] dRuby Hiroba
seki at druby.org
June 02, 2013
Tweet
Share
More Decks by seki at druby.org
See All by seki at druby.org
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
440
ERB, ancient and future
m_seki
3
890
ERB Hacks
m_seki
1
1.5k
わりこまれるはなし
m_seki
0
830
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
2
1.2k
Learn Ractor
m_seki
1
2.7k
How many copies did you buy the first print?
m_seki
1
740
Create my own search engine.
m_seki
1
5.3k
Rinda in the real-world embedded systems.
m_seki
0
440
Other Decks in Programming
See All in Programming
社内での開発コミュニティ活動とモジュラーモノリス標準化事例のご紹介/xPalette and Introduction of Modular monolith standardization
m4maruyama
1
120
Claude Codeの使い方
ttnyt8701
1
120
赤裸々に公開。 TSKaigiのオフシーズン
takezoux2
0
140
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
830
ReadMoreTextView
fornewid
1
450
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
C++20 射影変換
faithandbrave
0
490
WindowInsetsだってテストしたい
ryunen344
1
190
SODA - FACT BOOK
sodainc
1
1.1k
ktr0731/go-mcpでMCPサーバー作ってみた
takak2166
0
170
Spring gRPC で始める gRPC 入門 / Introduction to gRPC with Spring gRPC
mackey0225
2
510
エンジニア向け採用ピッチ資料
inusan
0
130
Featured
See All Featured
Docker and Python
trallard
44
3.4k
The Invisible Side of Design
smashingmag
299
51k
Speed Design
sergeychernyshev
31
1k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Rails Girls Zürich Keynote
gr2m
94
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.7k
Scaling GitHub
holman
459
140k
The Pragmatic Product Professional
lauravandoore
35
6.7k
How to Ace a Technical Interview
jacobian
276
23k
Transcript
dRuby dRuby Hiroba Masatoshi SEKI / @m_seki / toRuby
toRuby ͱͪ͗Rubyͷษڧձ (Tochigi Ruby meetup) 2013-6-5 18:30 at Nishinasuno, Nasushiobara,
Tochigi
dRuby dRuby makes any processes be a server.
1. Hello, World. hello_server.rb hello_client.rb hello() "Hello, World."
code require 'drb/drb' DRb.start_service DRbObject.new_with_uri
exercise hello_client.rbΛͳΜͲ࣮ߦͰ͖·͔͢ʁ hello_server.rbΛऴྃͤͯ͞hello_client.rb Λ࣮ߦͤ͞ΔͱͲ͏ͳΓ·͔͢ʁ
2. Hash hash_server.rb irb irb
exercise ͲΜͳΦϒδΣΫτ͕ೖΔ͔ࢼͯ͠ "String" 2012 Time.now $stdout
3. Queue irb Queue deque.rb
exercise deque.rbΛ૿ͨ͠ΒͲ͏ͳΔ? irb Queue deque.rb deque.rb deque.rb
4. Drip A stream based storage
4.1 Drip as Queue
4.2 Drip as KVS
4.3 Browse Drip
4.4 write_if_latest https://gist.github.com/seki/1383222 Clojure like STM https://gist.github.com/seki/4492047 Mutable Distributed Queue
N ew !