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

danger-swift-kantoku

Af64bc38c0ffcfcabdf430759ee491ce?s=47 Elvis Shi
February 22, 2022

 danger-swift-kantoku

Af64bc38c0ffcfcabdf430759ee491ce?s=128

Elvis Shi

February 22, 2022
Tweet

More Decks by Elvis Shi

Other Decks in Programming

Transcript

  1. 9DPEFͷϏϧυϫʔχϯά౳Λ 
 13ʹใࠂ͢Δ%BOHFS4XJGUϓϥάΠϯ͕ 
 3VCZ੡πʔϧͷग़ྗʹґଘͯ͠Δ͔Β 
 Զ͕৽͍͠ͷΛ࡞ͬͯ΍Δ ஶɿ੕໺ܙྤ ֆ˞ɿ͍Β͢ͱ΍ ˞ΠϥετૉࡐҾ༻Ͱ͢ɻ

    4XJGUѪ޷ձจݿWPM
  2. ʲୈרʳ 
 13ͷ%BOHFSใࠂʹ 
 9DPEFͷϏϧυϫʔχϯά 
 ཉ͍͠ΑͶʁ

  3. ʲୈষʳ%BOHFSͬͯɺͳʔʹʁ w ϦϙδτϦʔΛ੩తݕࠪ͢Δπʔϧ w νΣοΫ͍߲ͨ͠໨Λ%BOHFS fi MF 
 ͱ͍͏εΫϦϓτͰॻ͚͹৭ʑ 


    ػցతʹνΣοΫͯ͘͠ΕΔ w ͞·͟·ͳϓϥάΠϯͰ͍ΖΜͳ ͜ͱ͕Ͱ͖Δ w 4XJGUͰεΫϦϓτॻ͚Δ%BOHFS 4XJGU΋͋Δ w IUUQTHJUIVCDPNEBOHFSTXJGU
  4. ʲୈষʳ9DPEFͷϏϧυϫʔχϯάใࠂʁ w 9DPEF͕Ϗϧυ࣌ʹ༷ʑͳϫʔχϯ ά΍ΤϥʔΛు͖ग़ͯ͘͠ΕΔ w %FQSFDBUFE΍3FOBNF৘ใ͚ͩ Ͱͳ͘ϓϩδΣΫτઃఆͳͲͷ ϫʔχϯά΋͋Δ w 4XJGU-JOU͕͋Ε͹ͦΕͷϫʔχ

    ϯά΍Τϥʔ΋ు͖ग़ͯ͘͠ΕΔ w ͜Μͳศརͳ΋ͷ͸౰વ13ͷίϝ ϯτͰཉ͍͠ΑͶʁʁ w ࣮͸ͦΜͳϓϥάΠϯ͕طʹ͋Δ
  5. ʲୈষʳEBOHFSTXJGUYDPEFTVNNBSZʁ w 9DPEFͷϏϧυ֓ཁΛरͬͯ͘ΕΔ ϓϥάΠϯ w ϫʔχϯά΍Τϥʔ͚ͩͰͳ͘ɺ ςετͷ݁Ռ΋ίϝϯτ౤ߘͯ͠ ͘ΕΔ w ͨͩ͠YDQSFUUZٴͼYDQSFUUZKTPO

    GPSNBUUFSͷग़ྗ͕ඞཁ w ͜ΕΒͷπʔϧͷΠϯετʔϧʹ 3VCZͷύοέʔδϚωʔδϟʔ (FN#VOEMFS͕ඞཁ
  6. 3VCZґଘ͸ݏͩʂ

  7. ʲୈרʳ 
 ։ൃ؀ڥ͔Β 
 3VCZΛഉআ͍ͨ͠ΑͶʁ

  8. ʲୈষʳ3VCZͷݖݶ໰୊ʁ w NBD04͸3VCZ؀ڥΛ಺ଂ͍ͯ͠Δ w ؆୯ͳ3VCZεΫϦϓτ࡞੒ͳΒ ͙͢Ͱ͖ΔͷͰඇৗʹָ w ͱ͜Ζ͕(FNͰԿ͔֎෦ύο έʔδΛೖΕΑ͏ͱ͢Δͱ࣮ߦऀ ͷݖݶͱΠϯετʔϧઌͷύεͷ

    ݖݶ͕߹Θͳ͍ͨΊ͙ࣦ͢ഊ͢Δ w ܦݧऀͳΒSCFOWͷಋೖͰղܾͰ͖ Δ w ͔͠͠ॳ৺ऀ͸ͦΕΛ஌Βͳ͍͠ άάͬͯ΋͙͢DINPEͱ͔TVEP ͱ͔ѱຐͷܖ໿Λͤ͞Α͏ͱ͢Δ
  9. ʲୈষʳ͡Ό͋SCFOWಋೖͤ͞Ε͹ʁ w SCFOWͷಋೖ͸)PNFCSFXʹґଘ͢Δ w )PNFCSFX͸ݸਓ։ൃͳΒศརͩ ͕ɺόʔδϣϯࢦఆ͕Ͱ͖ͳ͍ͨ ΊɺΈΜͳͷ؀ڥΛ౷Ұ͍ͨ͠νʔ Ϝ։ൃʹ͸ෆ޲͖ w ͞Βʹ)PNFCSFXύοέʔδ͸

    
 άϩʔόϧ؀ڥͰͷΠϯετʔϧʹ ͳΔͷͰɺͦΕԚ͢ͱෳ਺ϓϩδΣ Ϋτͷಉ࣌ਐߦʹࢧো͕ग़͔Ͷͳ͍ w SCFOWͷӡ༻͸TIFMMϓϩϑΝΠϧͷॻ ͖׵͑΋ඞཁ w ؀ڥߏஙͷͨΊͷεΫϦϓτࣗମ͕ ॻ͖ʹ͍͘
  10. ʲୈষʳͦΜͳʹ3VCZऔͬ෷͍͍ͨͷʁ w ͦ΋ͦ΋%BOHFS͔Β%BOHFS4XJGUʹ Ҡߦͨ͠ͷ΋3VCZΛॻ͖ͨ͘ͳ͍͔Β w ͩͬͯ4XJGU͕ॻ͖͍ͨ΋Μʂ w ΏΊΈͷձࣾੑ࣭తʹ΋άϩʔόϧ؀ڥ ΛԚ͢ͷ͸ͳΔ΂͘ආ͚͍ͨ w

    ৗʹԿ͔৽ϓϩδΣΫτ͕ੜ·ΕΔ w ҰਓͰෳ਺ͷҊ݅ΛݟΔͷ͸౰ͨΓલ w ଐਓԽ๷ࢭͷͨΊʹϩʔςʔγϣϯ΋ ඞཁ w ͳͷͰ؀ڥߏங͸άϩʔόϧͰ͸ͳ͘ ֤ϓϩδΣΫτࣗ਎ͷϩʔΧϧ؀ڥͰ ׬͍݁ͨ͠
  11. ŷƤƶƐ3VCZ ㆮŧƑƒबŻƦƍŧ

  12. ʲୈרʳ 
 ΤϯδχΞͨΔऀ 
 ͳ͍෺͸࡞Δ͔͠ͳ͍ΑͶʁ

  13. ʲୈষʳYDSFTVMUͬͯͷ͕͋ΔΒ͍͠Αʁ w 9DPEF͔Β࠾༻͞ΕͨϏϧυ݁Ռ όϯυϧ w Ϗϧυϩά͚ͩͰͳ͘ɺςετʹ ؔ࿈͢Δ৘ใ΋ڭ͑ͯ͘ΕΔ w ͨͩ͠த਎͸όΠφϦͳͷͰղੳ ͢Δͷʹ͸ެࣜπʔϧ͕ඞཁ

    w ࣮͸ຊՈ%BOHFSͷϓϥάΠϯ EBOHFSYDPEF@TVNNBSZ͸طʹ YDSFTVMUʹରԠࡁΈ w ͔͠͠ຊՈ%BOHFS͸3VCZ੡ͩ ͔Βෆ࠾༻
  14. ʲୈষʳͲ͏΍ͬͯϓϥάΠϯ࡞Δͷʁ w %BOHFS4XJGUͷϓϥάΠϯ੍࡞ͳΒ ܦݧ͸͋Δ w طʹEBOHFSTXJGUTIPLJ΍ EBOHFSTXJGUFEBΛ࡞ͬͨ w ௨ৗͷϥΠϒϥϦͱಉ͡Α͏ͳײ֮ Ͱ࡞ΕΔ

    w %BOHFS4XJGUΛґଘͱͯ͠௥Ճ w ඞཁͳλΠϛϯάͰ%BOHFS%4- Λݺͼग़ͤ͹͍͍
  15. ʲୈষʳͲ͏࢖͏ͷʁ w %BOHFS4XJGUͷґଘύοέʔδʹ EBOHFSTXJGULBOUPLVΛ௥Ճ w %BOHFS fi MFTXJGU಺ͰEBOHFS 
 LBOUPLVQBSTF9$3FTVMU'JMFΛݺͼ

    ग़͠YDSFTVMUϑΝΠϧΛ౉͢ w Ҏ্
  16. ね?簡単でしょ?

  17. ʲୈרʳ 
 ͜Μͳૉ੖Β͍͠΋ͷ 
 ΋ͬͱৄ͘͠஌Γ͍ͨΑͶʁ

  18. ʲୈষʳͲͷΑ͏ʹಈ͘ͷʁ w %BOHFS4XJGUΛ$*αʔϏεͰճ͢ ͱɺϓϥάΠϯ͕YDSFTVMUΛύʔε ͢Δ w ϫʔχϯά΍ΤϥʔͳͲͷ*TTVF͕ ͋ͬͨΒ%BOHFS4XJGUΛ௨ͯͦ͡ ͷ··13ϖʔδʹίϝϯτͯ͘͠ ΕΔ

    w *TTVFʹϑΝΠϧύεͱߦ਺͕ඥ ෇͚͞Εɺ͞ΒʹͦΕ͕ࠓճͷࠩ ෼ൣғ಺ͳΒɺ*OMJOFͰίϝϯτ ͯ͘͠ΕΔ w ͦΕҎ֎ͷ*TTVF͸௨ৗίϝϯτ ͯ͘͠ΕΔ
  19. ʲୈষʳ࣮૷ʹ͓͍ͯͷ৺ಘͳͲ͸ʁ w YDFSTVMUΛࣗྗͰύʔε͢Δͷ͸ 
 ඇৗʹେม w 9$3FTVMU,JUͱ͍͏·͞ʹͦͷҝ ͷϥΠϒϥϦʔ͕͋Δ w ࠶ൃ໌͠ͳ͍͍ͯ͘ंྠ͸࠶ൃ໌͠

    ͳ͍͍ͯ͘Αʢ࠶ؼʣ w ߦ਺ࢦఆʹؾΛ͚ͭΔ΂͖ w YDSFTVMU͔Βऔಘͨ͠ୈԿߦ໨ͷ ݁Ռ͸͔Β਺͑ͨ݁Ռ w Ұํ(JU)VCͰୈԿߦ໨ʹ*OMJOF ίϝϯτ͍ͨ࣌͠͸͔Β਺͑ͨ ݁Ռ
  20. ʲୈষʳϏϧυϩά͔͠ରԠ͠ͳ͍ͷʁ w ࠓޙ͸ςετϨϙʔτ΍ΧόϨοδ ͳͲͷίϝϯτ΋ରԠ͍͖͍ͯͨ͠ w ͜ΕΒͷ৘ใ͸શͯYDSFTVMU͔Β ؆୯ʹऔಘͰ͖Δ w ΧελϚΠζੑ΋ߋʹ޲্͍͖ͯ͠ ͍ͨ

    w ࠩ෼Ҏ֎ͷϫʔχϯάΛແࢹͨ͠ Γɺϫʔχϯά͕Ұఆ਺௒͑Δͱ 13Λࣦഊʹ͢Δࢦఆ΋ೖΕ͍ͨ
  21. Զͨͪͷઓ͍͸ 
 ͜Ε͔Βͩ

  22. Ωϟϥ঺հɿEBOHFSTXJGULBOUPLV w ຊ࡞඼ͷओਓެ w ਓ͕ؒಡΊͳ͍όΠφϦϑΝΠϧ Ͱ΋Ί͛ͳ͍࠳͚ͳ͍ؤுΓ԰ w ੒௕్தͷβɾओਓެΩϟϥ w IUUQTHJUIVCDPNZVNFNJ

    JODEBOHFSTXJGULBOUPLV
  23. Ωϟϥ঺հɿZVNFNJJOD w EBOHFSTXJGULBOUPLVͷอޢऀ w ༷ʑͳاۀ͞Μ͔Β։ൃͷ૬ஊΛ ड͚ͯΔ#O#$ͷձࣾΒ͍͠ w ݱࡏJ04ΤϯδχΞΛؚΉ֤৬छ ͷ࠾༻׆ಈΛߦͳ͍ͬͯΔ w

    IUUQTXXXZVNFNJDPKQ
  24. ஶऀ঺հɿ੕໺ܙྤ w ͱʹ͔͘4XJGU৴ऀ w ݩ"VUP-BZPVUઈର˓͢Ϛϯ w ݱࡏ3VCZઈର˓͢ϚϯͷงғؾΛ ৢ͠ग़ͯ͠Δʂʁ w UXJUUFSɿ!MPWFF

    w RJJUBɿMPWFF w (JU)VCɿFMIPTIJOP