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

HHVM/Hackの
使いどころを探る
Async編

7853227a0a2a6d7209b26e37874e9712?s=47 imunew
April 20, 2018

 HHVM/Hackの
使いどころを探る
Async編

HHVM/Hack勉強会 Vol.1
2018.04.20

7853227a0a2a6d7209b26e37874e9712?s=128

imunew

April 20, 2018
Tweet

Transcript

  1. ))7.)BDLͷ
 ࢖͍Ͳ͜ΖΛ୳Δ
 "TZODฤ ))7.)BDLษڧձ7PM 

  2. ࣗݾ঺հ w Ҫଜݩफʢ͍ΉΒ΋ͱͻΖʣBLB!JNVOFX w ϑϦʔϥϯεͷιϑτ΢ΣΞΤϯδχΞ w $$ $1)1 w ೥݄ʹ߹ಉձࣾZJFMETΛઃཱ

    w ͓࢓ࣄɺΤϯδχΞ஥ؒืूத
  3. ΞδΣϯμ w ࢀՃ͖͔͚ͨͬ͠ w ࠓճͷΰʔϧ w ؀ڥߏஙʢ͍͢͝؆୯ʣ w ·ͣ͸ɺ)FMMP8PSME w

    ࣍ʹɺ"TZOD"XBJU   w ࣍ʹɺ"TZOD"XBJU   w ಈ͘αϯϓϧ͸࡞ͬͨ΋ͷͷ w ·ͱΊʢॴײͳͲʣ
  4. ࢀՃ͖͔͚ͨͬ͠

  5. ࠓճͷΰʔϧ w ۀ຿΍झຯͷϓϩάϥϛϯάͰɺϦΞϧʹ))7.)BDLΛ ࢖ͬͯΈΑ͏ͱࢥ͏ਓΛ૿΍͢ w ۩ମతʹ͸ɺόονॲཧతͳ$-*ͷίʔυΛ͓୊ʹ w ઌʹ݁࿦Λݴ͓ͬͯ͘ͱɺ"TZOD"XBJUͰॲཧ଎౓͕଎͘ ͳΔαϯϓϧΛ࡞͕ͬͨɺਖ਼௚ɺ͍͍αϯϓϧͰ͸ͳ͔ͬ ͨ

    w Ͱ͖Δ͜ͱͱͰ͖ͳ͍͜ͱΛؚΊͯɺ))7.)BDLʹ͍ͭ ͯ஌Γɺ࢖͍Ͳ͜ΖΛ୳͍͖ͬ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ɺ'BDFCPPLۘ੡ͷ"UPN༻ϓϥάΠϯA/VDMJEFAΛ࢖͍·ͨ͠ w ࢖͍Ͳ͜ΖΛؒҧ͑ͯ͠·ͬͨײ͕ڧ͍͕ɺ(FOFSJDT΍&OVNͳͲڧ͍ܕγεςϜ ͸ඇৗʹັྗͳͷͰɺ΋ͬͱྲྀߦͬͯ΄͍͠
  14. ͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠