Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Async programming is all about programming sync...

Async programming is all about programming synchronously.

RubyKaigi 2013 - 10:00 room A
rev.7

seki at druby.org

June 01, 2013
Tweet

More Decks by seki at druby.org

Other Decks in Programming

Transcript

  1. hikari no cafe Ұॹʹߦ͜͏! ฏ೔ʹ༡ͼʹ͖ͯ!! > @ay Synchronization Mechanisms εϨουؒͷ଴߹ͤɺ఻ݴ

    ৚͕݅ἧ͏·ͰٳΉ εϨου͕ผεϨουʹ৘ใΛ఻͑Δ εϨου͕ผεϨου͔Βͷ৘ใΛड͚Δ
  2. The dRuby Book Japanese Edition : Best as GIFT FROM

    JAPAN جຊతͳύλʔϯ ॲཧΛґཔ → νέοτ΋Β͏! ฒߦͯࣗ͠෼ͷ࢓ࣄΛ͢Δ νέοτ࢖ͬͯґཔͷ݁ՌΛ଴ͭ←ಉظ͢Δ
  3. dRubyHiroba - dRuby hands-on 6/2 10:30- (RubyHiroba) νέοτͷྫ ιέοτͦͷ΋ͷ͕νέοτ ґཔΛॻ͖ɺ݁ՌΛಡΉ

    popenͳͲ΋ࣅͨΑ͏ͳ΋ͷ ticket = TCPClient.new(...) ticket.write('your task') my_important_task ticket.read
  4. dRubyHiroba - dRuby hands-on 6/2 10:30- (RubyHiroba) ଴ͪํ͕·ͪ·ͪͩͱࠔΔ or Ͱ͸ͭͳ͛ͳ͍

    ࠷ॳͷ଴߹ͤͰࢭ·ͬͪΌ͏ ͍Ζ͍ΖҰ౓ʹ଴ͯͳ͍ͱμϝ queue.pop or soc.read or rinda.take or ...
  5. Ruby's GC slide is here! : slidesha.re/19sbBwA (w/o animation, free

    ver) and gumroad.com/l/xWCR (w/ animation, premium ver) selectଐϝΠϯϧʔϓ select(ͨ͘͞Μͷιέοτ) ϒϩοΫ͠ͳ͍ιέοτͷಡΈॻ͖ ͳʹ͔ॲཧΛ͢Δ