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
470
[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
280
ERB, ancient and future
m_seki
3
810
ERB Hacks
m_seki
1
1.3k
わりこまれるはなし
m_seki
0
730
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
1.1k
Learn Ractor
m_seki
1
2.5k
How many copies did you buy the first print?
m_seki
1
680
Create my own search engine.
m_seki
1
5.2k
Rinda in the real-world embedded systems.
m_seki
0
400
Other Decks in Programming
See All in Programming
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
870
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
210
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
160
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.3k
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
8
1.8k
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
390
Androidアプリの One Experience リリース
nein37
0
750
Zoneless Testing
rainerhahnekamp
0
150
rails newと同時に型を書く
aki19035vc
5
620
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
900
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
100
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
210
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Building an army of robots
kneath
302
44k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
190
It's Worth the Effort
3n
183
28k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
How STYLIGHT went responsive
nonsquared
96
5.3k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Agile that works and the tools we love
rasmusluckow
328
21k
Facilitating Awesome Meetings
lara
50
6.2k
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 !