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
440
[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
ERB Hacks
m_seki
1
1k
わりこまれるはなし
m_seki
0
450
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
0
600
Learn Ractor
m_seki
1
2.1k
How many copies did you buy the first print?
m_seki
1
570
Create my own search engine.
m_seki
1
4.9k
Rinda in the real-world embedded systems.
m_seki
0
320
xpjug2019 A-4: チケットシステムの設計と実装、『あのチーム』の運用
m_seki
6
6.2k
Tochigi Ruby Kaigi 08 Keynote
m_seki
0
290
Other Decks in Programming
See All in Programming
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
160
Goのmultiple errorsについて (2024年4月版)
syumai
1
350
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
Ruby Function Composition
bkuhlmann
1
330
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
350
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
810
VS Code をプロダクトにどう取り込むか
onomax
1
340
Git Rebase
bkuhlmann
11
1.6k
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
660
Milestoner
bkuhlmann
1
410
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.4k
Making Projects Easy
brettharned
108
5.5k
A Tale of Four Properties
chriscoyier
150
22k
How to name files
jennybc
64
93k
The Power of CSS Pseudo Elements
geoffreycrofte
59
5k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Writing Fast Ruby
sferik
620
60k
Building Adaptive Systems
keathley
30
1.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Ruby is Unlike a Banana
tanoku
96
10k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
20
1.6k
The Invisible Side of Design
smashingmag
294
49k
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 !