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
450
[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, ancient and future
m_seki
3
570
ERB Hacks
m_seki
1
1.2k
わりこまれるはなし
m_seki
0
610
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
870
Learn Ractor
m_seki
1
2.3k
How many copies did you buy the first print?
m_seki
1
620
Create my own search engine.
m_seki
1
5.1k
Rinda in the real-world embedded systems.
m_seki
0
370
xpjug2019 A-4: チケットシステムの設計と実装、『あのチーム』の運用
m_seki
6
6.4k
Other Decks in Programming
See All in Programming
【TID2024】模擬講義:プログラマと一緒にゲームをデザインしてみよう!
akatsukigames_tech
0
690
watsonx.ai Dojo #2 生成AIを使ったアプリ開発入門編
oniak3ibm
PRO
0
240
Rubyのobject_id
qnighy
6
1.3k
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
690
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
620
Scala アプリケーションのビルドを改善してデプロイ時間を 1/4 にした話 | How I improved the build of my Scala application and reduced deployment time by 4x
nomadblacky
1
180
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
420
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
230
Ruby Parser progress report 2024
yui_knk
2
230
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
950
Amazon BedrockでサーバレスなAIお料理ボットを作成する!!
tosuri13
0
230
Securify_エンジニア採用資料
3shake
0
110
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
39
2.3k
Git: the NoSQL Database
bkeepers
PRO
425
64k
RailsConf 2023
tenderlove
28
820
How to Ace a Technical Interview
jacobian
274
23k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
Clear Off the Table
cherdarchuk
91
320k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
What's in a price? How to price your products and services
michaelherold
242
11k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Visualization
eitanlees
142
15k
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 !