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
dRuby 20th anniversary hands-on workshop
Search
seki at druby.org
April 20, 2019
Programming
1
88
dRuby 20th anniversary hands-on workshop
slide: dRuby 20th anniversary hands-on workshop
text is here :
http://www.druby.org/fukuoka2019.pdf
seki at druby.org
April 20, 2019
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
880
ERB Hacks
m_seki
1
1.5k
わりこまれるはなし
m_seki
0
820
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
2
1.2k
Learn Ractor
m_seki
1
2.7k
How many copies did you buy the first print?
m_seki
1
730
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
Perlで痩せる
yuukis
1
680
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
900
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
200
実践ArchUnit ~実例による検証パターンの紹介~
ogiwarat
2
240
プロダクト開発でも使おう 関数のオーバーロード
yoiwamoto
0
140
GoのGenericsによるslice操作との付き合い方
syumai
1
310
イベントストーミングから始めるドメイン駆動設計
jgeem
4
800
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
PRO
1
130
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
300
OpenNext + Hono on Cloudflare でイマドキWeb開発スタックを実現する
rokuosan
0
120
Use Perl as Better Shell Script
karupanerura
0
690
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.4k
Featured
See All Featured
Building an army of robots
kneath
306
45k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
For a Future-Friendly Web
brad_frost
179
9.8k
Optimizing for Happiness
mojombo
379
70k
The Language of Interfaces
destraynor
158
25k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Documentation Writing (for coders)
carmenintech
71
4.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
What's in a price? How to price your products and services
michaelherold
245
12k
Docker and Python
trallard
44
3.4k
A Tale of Four Properties
chriscoyier
159
23k
Transcript
dRuby 20th anniversary hands-on workshop @m_seki /
[email protected]
@m_seki Ruby committer Author of ERB, dRuby, Rinda http://www.druby.org/fukuoka2019.pdf
What is dRuby Distributed Object System Can invoke methods in
different process Can send objects between process Pure Ruby http://www.druby.org/fukuoka2019.pdf
দߐͷϫʔΫγϣοϓͷ࣭ dRuby http://www.druby.org/fukuoka2019.pdf
Goal of this workshop dRuby http://www.druby.org/fukuoka2019.pdf Feel what dRuby is.
For details, read the book.
1999 [ruby-list:15406] 1st dRuby http://www.druby.org/fukuoka2019.pdf
1st dRuby on T-shirts suzuri.jp/m_seki
Ask them questions in English
2005 - ·ͩॳΓങ͑·͢ http://www.druby.org/fukuoka2019.pdf dRuby ʹΑΔ ؔকढ़ஶ ࢄ ɾ Web
ϓϩάϥϛϯά First printing from 2005 (Still available)
2012 (-2014 ઈ൛) http://www.druby.org/fukuoka2019.pdf Publication from 2012 (Become out of
print in 2014)
ͬͱΘ͔Γ͘͢΄Ίͯʂ http://www.druby.org/fukuoka2019.pdf Praise it more directly, please!
dRubyͳʹʹ͏ͷʁ ... http://www.druby.org/fukuoka2019.pdf
Twitterͷ߹ http://www.druby.org/fukuoka2019.pdf In case of Twitter
Concurrency ?? http://www.druby.org/fukuoka2019.pdf It is very easy to use up
multi-core
Demo @drbrain Mandelbrot set 8core http://www.druby.org/fukuoka2019.pdf
Agenda Hello, World Key value store Queue 4, 5 http://www.druby.org/fukuoka2019.pdf
4. Docker, 5. Docker and Ring are omitted.
1. Hello, World Setup dRuby Invoke a method in different
process http://www.druby.org/fukuoka2019.pdf
1. Hello, World http://www.druby.org/fukuoka2019.pdf require 'drb' class Hello def greeting
puts('Hello, World.') end end uri = 'druby://localhost:54000' DRb.start_service(uri, Hello.new) sleep require 'drb' DRb.start_service uri = 'druby://localhost:54000' it = DRbObject.new_with_uri(uri) it.greeting ← greeting
2. Key value store KVS arguments return value http://www.druby.org/fukuoka2019.pdf
2. Key value store http://www.druby.org/fukuoka2019.pdf KVS irb irb • "greeting"
• "hello, world." • "greeting" • "hello, world."
3. Queue SizedQueue full/empty http://www.druby.org/fukuoka2019.pdf Synchronize process using thread synchronization
mechanism
OOPARTS http://www.druby.org/fukuoka2019.pdf I was just reminded of dRuby's OOPARTS-ness
OOPARTS http://www.druby.org/fukuoka2019.pdf
·ͱΊ dRuby http://www.druby.org/fukuoka2019.pdf Conclusion Do you feel what dRuby is?
For details, read the book.