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
78
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
200
ERB, ancient and future
m_seki
3
800
ERB Hacks
m_seki
1
1.3k
わりこまれるはなし
m_seki
0
710
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
1k
Learn Ractor
m_seki
1
2.4k
How many copies did you buy the first print?
m_seki
1
660
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
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
バグを見つけた?それAppleに直してもらおう!
uetyo
0
170
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
650
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
ドメインイベント増えすぎ問題
h0r15h0
1
120
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
260
命名をリントする
chiroruxx
1
380
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
350
Security_for_introducing_eBPF
kentatada
0
110
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
660
Criando Commits Incríveis no Git
marcelgsantos
2
170
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
A designer walks into a library…
pauljervisheath
204
24k
The Cost Of JavaScript in 2023
addyosmani
45
7k
KATA
mclloyd
29
14k
Designing for Performance
lara
604
68k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Docker and Python
trallard
41
3.1k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Visualization
eitanlees
146
15k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
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.