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

go-gc-1

taxio
July 26, 2019

 go-gc-1

taxio

July 26, 2019
Tweet

More Decks by taxio

Other Decks in Programming

Transcript

  1. w ($ͷجૅ w .BSL4XFFQ($ w ֤($ΞϧΰϦζϜͱͦͷϝϦοτɾσϝϦοτ ‣ 3FGFSFODF$PVOUJOH ‣ $PQZJOH($

    ‣ .BSL$PNQBDU($ ‣ (FOFSBUJPOBM($ ‣ *ODSFNFOUBM($ ‣ $PODVSSFOU1BSBMMFM($ w (P͕࠾༻͍ͯ͠Δ ͍ͯͨ͠ ($ΞϧΰϦζϜʹ͍ͭͯ w ͦͷଞ޻෉ ‣ "MMPDBUJPO ‣ ώʔϓྖҬ΍ΦϒδΣΫτͷߏ଄ ‣ FUD ࠓ೔෼Ͱ࿩͍ͨ͜͠ͱ 2
  2. w (BSCBHF$PMMFDUJPO ‣ ώʔϓྖҬʹଘࡏ͢Δ΋͏࢖Θͳ͍ϝϞϦΛղ์͢Δ w ΦϒδΣΫτ ‣ ώʔϓྖҬ͔Β֬อ͢Δσʔλߏ଄ͷ୯Ґ ‣ ϔομΦϒδΣΫτͷϝλ৘ใ

    ‣ ϑΟʔϧυ஋΍ଞͷΦϒδΣΫτͷࢀর w ϛϡʔςʔλ ‣ ΦϒδΣΫτͷੜ੒ "MMPDBUJPO ΍ɼΦϒδΣΫτͷߋ৽Λߦ͏ ($ͷجૅΛඵͰ 6 )FBEFS 'JFMET
  3. w ϧʔτ ‣ ΦϒδΣΫτͷࢀরؔ܎Λ௥͏ͨΊͷ࢝఺ ෳ਺͋ͬͯ΋͍͍  ‣ Ϩδελͱ͔ελοΫͱ͔֤ݴޠͷॲཧܥ͕࣋ͬͯΔػߏͱ͔ w ࢮΜͰ͍ΔΦϒδΣΫτ

    ‣ ϧʔτ͔ΒḷΕͳ͍ΦϒδΣΫτ͸΋͏࢖ΘΕͳ͍ͷͰࢮΜͰ͍Δͱදݱ ‣ ͜ΕΛ($Ͱճऩ ($ͷجૅΛඵͰ 7 %FBE 3PPU
  4. w 4XFFQϑΣʔζ ‣ ώʔϓྖҬΛ୺͔Β୳ࡧ ‣ .BSLͷ෇͍͍ͯͳ͍ΦϒδΣΫτΛ
 ճऩ 4XFFQ  

    ࣍ͷ"MMPDBUFʹ࢖͏ͨΊʹGSFF@MJTU
 ͳͲʹ௥Ճ (P·Ͱͷੈք 10 ✔ ✔ ✔ FREE_LIST
  5. w σϝϦοτ ‣ ($ͷىಈ͔Β׬ྃ·Ͱϛϡʔςʔλ͕
 ಈ࡞ΛࢭΊΔ ఀࢭܗ($   458 4UPQ5IF8PSME

     w ࣮ࡍ͸৭ʑͳ޻෉͕ೖ͍ͬͯΔ ‣ CJUNBQ #J#01 ‣ DPODVSSFOUMB[JMZTXFFQ ‣ ͨͿΜଞʹ΋ͨ͘͞Μ͋Δ͸ͣ (P·Ͱͷੈք 11 ✔ ✔ ✔ FREE_LIST
  6. w .BSLJOH ‣ EFRVFVFͯ͠NBSL ‣ ࢠΦϒδΣΫτΛFORVFVF w ࡾ৭ϚʔΫ ‣ ࠇ৭ϚʔΫࡁΈ

    ‣ փ৭RVFVFʹೖͬͯΔ ‣ ന৭ϚʔΫɾRVFVFແ͠ w .BSLJOHͷ్தͰϛϡʔςʔλʹ
 ॲཧΛ໌͚౉͢ ‣ ໭͖ͬͯͨΒ·ͨEFRVFVFͯ͠NBSL։࢝ (P͔Βͷੈք 14 ✔ ✔
  7. w 8SJUFCBSSJFS ‣ ฒߦ࣮ߦ͠ͳ͕Β΋੔߹ੑΛ͋Δఔ౓อͭ ‣ %JKLTUSBTUZMF  ৽͍͠ΦϒδΣΫτΛփ৭ʹ ‣ :VBTBTUZMF

     փ৭͔Βന΁ͷࢀর͕੾ΕΔͱ͖ʹ
 നΛփ৭ʹ w ࠷ޙʹ4XFFQ (P͔Βͷੈք 15 ✔ ✔ ϛϡʔςʔλʹΑͬͯ௥Ճ
  8. w (PҎ߱ɼσʔλߏ଄΍"MMPDBUJPOΞϧΰϦζϜͷվળ͕΄ͱΜͲ ‣ ͩͱࢥ͏ w 3JDL͞Μ͸ੈ୅ผ($Λಋೖ͍ͨ͠ͱ࿩͍ͯ͠Δ ‣ IUUQTCMPHHPMBOHPSHJTNNLFZOPUF *4..Ͱͷൃද 

    ‣ ੈ୅ผ($ΞϧΰϦζϜͷͭͰ͋Δ5SBJO($ΛߟҊ͍ͨ͢͠͝ਓ  ‣ ಋೖ͞ΕͨΒεϧʔϓοτ͸΋ͬͱ্͕Δ͸ͣ w (PͰ͸Ͳ͏ͳΔΜͰ͠ΐ͏͔ʁ ‣ ·ͩௐ΂͖Εͯͳ͍ͷͰ஌ͬͯΔਓ͍ͨΒڭ͑ͯԼ͍͞ Ͱ͸ͦͷઌ͸ʁ 17
  9. w IUUQTHJUIVCDPNHPMBOHHPUSFFNBTUFSTSDSVOUJNF w IUUQTEFFFFUDPNXSJUJOHHPHD ‣ EFFFFU͞Μͷͱͯ΋෼͔Γ΍͘͢·ͱ·ͬͨهࣄ ެ։࣌(P  w IUUQTCMPHHPMBOHPSHJTNNLFZOPUF

    ‣ 5SBJO($ͱ͔ఏҊ͍ͨ͢͠͝ਓ 3JDIBSE-)VETPO ͕*4..Ͱൃදͨ͠಺༰ w IUUQTFOHJOFFSJOHMJOFDPSQDPNKBCMPHHPHD ‣ -*/&ͷํ্͕ͷ3JDIBSE͞Μͷ࿩ͳͲΛݩʹ·ͱΊ͍ͯΔهࣄ ެ։࣌(P  w ʰΨϕʔδίϨΫγϣϯͷΞϧΰϦζϜͱ࣮૷ʱ*4#/ ‣ ΊͪΌΊͪΌ෼͔Γ΍͍͢ɽ·ͣ͸͜ΕΛಡΉ΂͖ɽ ‣ ஶऀ͕TMJEFTIBSFʹͨ͘͞ΜࢿྉΛ͍͋͛ͯΔͷͰͦΕ΋Ұॹʹ w ʰΨϕʔδίϨΫγϣϯɹࣗಈϝϞϦ؅ཧΛߏ੒͢Δཧ࿦ͱ࣮૷ʱ*4#/ ‣ ϋʔυ΢ΣΞ΍04ͷ࿩΋བྷΊ͍ͯΔͷͰؾ߹ΛೖΕͯಡ·ͳ͍ͱ͍͚ͳ͍ ͋ͱ୯७ʹಡΈͮΒ͍  w ଞ৭ʑ ‣ 8JMMJBN,FOOFEZ͞Μͷهࣄͱ͔ (PͷSFMFBTFOPUF ಛʹ ͱ͔ ࢀߟจݙ 18