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

RubyをからめたWebAssemblyの話 / ruby-webassembly

RubyをからめたWebAssemblyの話 / ruby-webassembly

Gotanda.rb#42 オンライン開催
2020/05/29(金) 19:30 〜 21:30

A92d05c5da067dc28a32527430f762ca?s=128

WalkerSumida

May 29, 2020
Tweet

Transcript

  1. 3VCZΛ͔ΒΊͨ 8FC"TTFNCMZͷ࿩ ىۀ४උத "ZVNV4VNJEB

  2. ࣗݾ঺հ

  3. w େֶߦ͖ͳ͕Β*5ϕϯνϟʔاۀͰ໿೥ؒ༗ঈΠϯλʔ ϯ w 1)1 .Z42- $BLF1)1 Y 8PSEQSFTT $

    "41 /&5 w ౦ࣳ৘ใγεςϜגࣜձࣾͰ೥ؒϔϧεέΞࣄۀʹैࣄ w 7#/&5 $ 0SBDMF%BUBCBTF w ̍ਓͰىۀ͠Α͏ͱࢼΈΔ͕ࣦഊ w 3VCZPO3BJMT 'VFM1)1 .Z42- "84 "OTJCMF w גࣜձࣾϚπϦΧʹΤϯδχΞೋਓ໨ͷ૑ۀϝϯόʔͱ͠ ͯ+PJO w /PUJBࣄۀ੹೚ऀ݉4FOTFTϓϩμΫτϚωʔδϟʔ w 3VCZPO3BJMT "OHVMBS+4 .Z42- "84 w ىۀ४උத ܦྺ
  4. 3VCZΛ͔ΒΊͨ 8FC"TTFNCMZͷ࿩

  5. ͢Ͱʹ8FC"TTFNCMZΛຊ൪ϓϩμΫ τͰར༻͞Ε͍ͯΔਓ͸͍·͔͢ ✋

  6. ·ͣ8FC"TTFNCMZͱ͸Կͳ ͷ͔

  7. w 8FC"TTFNCMZ͸ɺ΢Σϒϒϥ΢β ͷΫϥΠΞϯταΠυεΫϦϓτ ͱͯ͠ಈ࡞͢Δϓϩάϥϛϯάݴ ޠʢ௿ਫ४ݴޠʣͰ͋Δ w XBTN ϫζϜ ͱ΋শ͞Ε͓ͯΓɺ ϒϥ΢β্ͰόΠφϦϑΥʔϚο

    τͷܗͰ࣮ߦՄೳͰ͋Δ͜ͱΛಛ ௃ͱ͢Δ  XJLJQFEJBΑΓ IUUQTKBXJLJQFEJBPSHXJLJ 8FC"TTFNCMZ 8FC"TTFNCMZͱ͸ʁ
  8. w +BWB4DSJQUʹ࣮ߦ଎౓͕ٻΊΒΕΔ ࣌୅ʹͳͬͨ w Ϧονͳ6*දݱ w 8FC(-ͳͲͷάϥϑΟοΫදݱ w ܭࢉ଎౓ͷ஗͍ϞόΠϧ୺຤͔Β ͷΞΫηε

    ˞͕͜͜Α͘·ͱ·͍ͬͯ·͢ IUUQTRJJUBDPNVNBNJDIJJUFNT DECFEGECBD 8FC"TTFNCMZͳͥੜ·Εͨͷ͔
  9. w +BWB4DSJQU͚ͩͰࠓҎ্ͷύ ϑΥʔϚϯεΛग़͢ͷ͕೉͘͠ ͳ͖ͬͯͨ 8FC"TTFNCMZͳͥੜ·Εͨͷ͔

  10. w 'JSF'PY $ISPNF 4BGBSJ &EHFͳ Ͳͷओཁϒϥ΢β͸ݱ࣌఺ͰରԠ ͍ͯ͠Δ  ˞ࣗ෼͕࢖͍ͬͯΔ7JWBMEJͷදه ͸͜͜ʹ͸ͳ͍͕ରԠ͍ͯ͠Δ

    ˞࣌఺ ϒϥ΢βͷରԠঢ়گ͸
  11. w ҎԼͷαΠτ͸8FC"TTFNCMZͰά ϥϑΟοΫΛඳը͍ͯ͠ΔͷͰද ࣔ͞ΕΔ৔߹͸ରԠ͍ͯ͠Δ IUUQTCJOKJHJUIVCJPSBX XBTNSBZUSBDF ීஈ࢖͍ͬͯΔϒϥ΢β͕ຊ౰ʹରԠ͍ͯ͠Δͷ͔

  12. w $$  w 3VTUҎ߱ w (PҎ߱ w ,PUMJO/BUJWFҎ߱ ݱঢ়ར༻Ͱ͖Δݴޠ͸

  13. 3VCZ͸ରԠ͍ͯ͠ͳ͍

  14. w 3VCZΛར༻Մೳʹ͢Δͱ͍͏Ξϓ ϩʔνͰ͸ͳ͘NSVCZͰͱ͍͏ྲྀ Ε͸͋Δ IUUQTUFDISBDIPCQTJODKQ IBDIJ@@ 3VCZ͸ར༻ՄೳʹͳΔͷ͔

  15. w IUUQTKQRVPSBDPN 8FC"TTFNCMZHBGVLZVV TIJUBSBCVSBV[BEFNP3VCZHB GVUTVVOJUTVLBFSVZPVOJOBSJ NBTVLB 2VPSBͰͷ.BU[ͷճ౴

  16. w 3VCZίʔυΛ+BWB4DSJQUίʔυʹ ύʔε͢ΔίϯύΠϥʔ w ࠷ऴతʹϑϩϯτͰಈ͍͍ͯΔͷ ͸+BWB4DSJQU 8FC"TTFNCMZͰ͸ ͳ͍  

    IUUQTHJUIVCDPNPQBMPQBM 0QBMͱ͸
  17. ଞʹͳ͍͔ௐ΂͍ͯΔͱɺ"SUJDIPLF Ξʔ ςΟνϣʔΫ ͱ͍͏΋ͷ͕

  18. w 3VTUͱ3VCZͰ࣮૷͞Εͨ3VCZϥ ϯλΠϜΛఏڙ IUUQTHJUIVCDPNBSUJDIPLF BSUJDIPLF w ݫີʹݴ͏ͱ3VTUͱNSVCZͰॻ͔ Ε͍ͯΔ "SUJDIPLFͱ͸

  19. None
  20. 8FC"TTFNCMZ͸ਁಁ͢Δͷ ͔

  21. w ҎԼͷ఺͔Βਁಁͯ͘͠ΔͱࢥΘΕΔ w ओཁϒϥ΢βͰ͸طʹରԠ͍ͯ͠Δ w 3VTU΍(PͳͲͷࠓ੎͍ͷ͋Δݴޠ͕ ରԠ͍ͯ͠Δ w ʹ͸8$קࠂ ʮ8FC"TTFNCMZ$PSF

    4QFDJpDBUJPOʯ͕ࡦఆ͞Εɺ 8FC"TTFNCMZ͸ਖ਼ࣜͳ΢Σϒඪ४ʹ ೝఆ͞Εͨ w )5.- $44 +BWB4DSJQUʹଓ͖ɺ 8FC"TTFNCMZ͸ਖ਼ࣜʹϒϥ΢βͰ ωΠςΟϒʹಈ࡞͢Δ൪໨ͷݴޠ 8FC"TTFNCMZ͸ਁಁ͍ͯ͘͠ͷ͔
  22. ʮ8FC"TTFNCMZ͸ਖ਼ࣜʹϒϥ΢βͰωΠςΟϒ ʹಈ࡞͢Δ൪໨ͷݴޠʯ ͜ͷڹ͖͘͢͝ͳ͍Ͱ͔͢ʁস

  23. w σβΠϯπʔϧͷ'JHNB͸ɺ ೥݄ͷ࣌఺Ͱ͢Ͱʹ 8FC"TTFNCMZ $ Λར༻ͯ͠ύ ϑΥʔϚϯεͳͲͷ఺͔Β 8FC"TTFNCMZ͸༏Ε͍ͯΔͱݴͬ ͍ͯΔ IUUQTXXXpHNBDPNCMPH

    XFCBTTFNCMZDVUpHNBTMPBE UJNFCZY 8FC"TTFNCMZ͸ਁಁ͍ͯ͘͠ͷ͔
  24. w XBTNʹՄೳੑΛײͯ͡ૣ଎؀ڥ Λ࡞ͬͨ w %PDLFSೖͬͯΕ͹ίϚϯυͰΞ ΫηεͰ͖ΔΑ͏ʹͳ͍ͬͯΔ w IUUQTHJUIVCDPN XBMLFSTVNJEBSVTU@UP@XBTN 

    ˞৭ʑϋϚͬͯ݁ߏ࣌ؒ࢖ͬͨͷ ͰTUBS͍͚ͨͩΔͱٽ͍ͯتͼ· ͢ 3VTU͔ΒXBTNΛίϯύΠϧ͢ΔαϯϓϧΛ࡞ͬͨ
  25. w 8FC"TTFNCMZΛ3VCZ NSVCZ  "SUJDIPLF Ͱಈ͔͢େ͖ͳϝϦοτ ͸গͳ͍ͱײ͡Δ w 8FC"TTFNCMZΛར༻͢ΔͷͰ͋Ε͹ ࠓ੎͍ͷ͋Δ3VTU

    (PͳͲΛར༻͢ Δͷ͕Αͦ͞͏ w 8FC"TTFNCMZ͸+BWB4DSJQUͱڞଘ͠ ͍ͯ͘ɺͱ͍ͯ͠Δ͕8FC"TTFNCMZ Ͱ΋%0.ૢ࡞͕Մೳʹ w 8FC"TTFNCMZ͸͜Ε͔Βීٴ͍ͯ͠ ͖ͦ͏ ·ͱΊ
  26. w IUUQTCMPHIFMMPKTPSHXFC EFWFMPQNFOUIPXUPTUBSU JOCGFCFCB ༨ஊ

  27. w Ұੲલ͸ɺ)5.- $44 K2VFSZͩ ͚ͩͬͨ ༨ஊ

  28. w ͦΕ͕+BWB4DSJQU಺ͰͷϥΠϒϥ ϦɺϑϨʔϜϫʔΫ͕͜Μͳʹ૿ ͑ͯʜ ༨ஊ

  29. w $44಺Ͱ΋ϑϨʔϜϫʔΫͳͲ͕ ͋Δ ༨ஊ

  30. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ