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
85
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
370
ERB, ancient and future
m_seki
3
850
ERB Hacks
m_seki
1
1.4k
わりこまれるはなし
m_seki
0
780
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
1.1k
Learn Ractor
m_seki
1
2.6k
How many copies did you buy the first print?
m_seki
1
710
Create my own search engine.
m_seki
1
5.3k
Rinda in the real-world embedded systems.
m_seki
0
420
Other Decks in Programming
See All in Programming
マルチアカウント環境での、そこまでがんばらない RI/SP 運用設計
wa6sn
0
680
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
3.2k
Windows版PHPのビルド手順とPHP 8.4における変更点
matsuo_atsushi
0
390
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
280
ベクトル検索システムの気持ち
monochromegane
30
9.6k
Unlock the Potential of Swift Code Generation
rockname
0
120
custom_lintで始めるチームルール管理
akaboshinit
0
190
SQL Server ベクトル検索
odashinsuke
0
140
SLI/SLOの設定を進めるその前に アラート品質の改善に取り組んだ話
tanden
2
780
S3静的ホスティング+Next.js静的エクスポート で格安webアプリ構築
iharuoru
0
210
gen_statem - OTP's Unsung Hero
whatyouhide
1
190
AIコードエディタの基盤となるLLMのFlutter性能評価
alquist4121
0
180
Featured
See All Featured
Building Adaptive Systems
keathley
41
2.5k
A designer walks into a library…
pauljervisheath
205
24k
Building an army of robots
kneath
304
45k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Documentation Writing (for coders)
carmenintech
69
4.7k
A Modern Web Designer's Workflow
chriscoyier
693
190k
How to train your dragon (web standard)
notwaldorf
91
5.9k
GraphQLの誤解/rethinking-graphql
sonatard
70
10k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
102
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
28
1.6k
Product Roadmaps are Hard
iamctodd
PRO
52
11k
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.