Fork

3cb4e761dbdb7aebd1ffd85f752e1e3e?s=47 sonata
November 14, 2017

 Fork

3cb4e761dbdb7aebd1ffd85f752e1e3e?s=128

sonata

November 14, 2017
Tweet

Transcript

  1. 1 'PSL CMPDLDIBJOUPLZP !TPOBUBSE

  2. Engineer Kensuke Sano @sonatard • University • Linux Server and

    Network Engineer • Canon • Develop Wireless LAN Module Simulator with SystemC • Develop TCP/IP protocol stack on RTOS • Go in my free time • Mercari/Souzoh • Google App Engine Go Engineer • Next Currency • Google App Engine Go Engineer • Develop Trade System
  3. • F o r k • S o f t

    f o r k • H a r d f o r k
  4. • F o r k • S o f t

    f o r k • H a r d f o r k
  5. 5 'PSL w ϒϩοΫνΣʔϯ͕෼ذ͢Δ͜ͱɻ w ଟ͘ͷϚΠφʔ͕ಉ࣌ʹϚΠχϯά͍ͯ͠ ΔͨΊɺҟͳΔϒϩοΫ͕ੜ੒͞Εͯҙਤ ͤͣʹ෼ذ͢Δ͜ͱ͕͋Δɻ w ͨͩ͠#JUDPJOͰ͸ɺ௕͍νΣʔϯΛϝΠ

    ϯνΣʔϯͱ͢Δ࢓༷͕͋Γɺ୹͍νΣʔ ϯ͸ΦʔϑΝʔϒϩοΫͱͯ͠ഁغ͞ΕΔɻ ΦʔϑΝϯϒϩοΫΛϚΠχϯάͯ͠΋ใ ु͸ಘΒΕͳ͍ɻ w ͦͷͨΊϚΠφʔ͸ຊͷνΣʔϯΛ৳͹ ͢ΠϯηϯςΟϒ͕ಇ͖ɺແҙຯʹ෼ذ ͢Δ͜ͱ͸ͳ͍ɻ
  6. 6 'PSL w ϒϩοΫνΣʔϯࣗମʹ࢓༷มߋ͕ೖΔ ৔߹ʹ΋'PSL͢Δ͜ͱ͕͋Δɻ w 4PGUGPSL w )BSEGPSL w

    4PGUGPSL͔)BSEGPSL͔͸ҎԼͷ৚͔݅Βಋ ͖ग़ͤΔɻ w ࢓༷มߋʹޙํޓ׵ੑ͕͋Δ͔ w ϚΠφʔ͕৽࢓༷Λࢧ͍࣋ͯ͠Δׂ߹
  7. • F o r k • S o f t

    f o r k • H a r d f o r k
  8. 8 4PGUGPSL w ϒϩοΫνΣʔϯʹޙํޓ׵ੑͷ͋Δม ߋΛՃ͑ͨ࣌ʹൃੜ͢ΔϒϩοΫνΣʔ ϯͷ෼ذͷܗଶ w ޙํޓ׵ੑͷ͋Δมߋͱ͸ɺطଘ࢓༷Α Γ΋ݫ͍͠ϧʔϧΛઃ͚Δ͜ͱΛࢦ͢ɻ w

    Ұ࣌తʹ͸ͭͷνΣʔϯʹ෼ذ͢Δ͕ɺ ৽͍͠࢓༷͕Ҏ্ͷϚΠφʔͷࢧ࣋ ΛಘΒΕΕ͹ຊͷνΣʔϯʹऩଋ͢Δɻ
  9. 9 4PGUGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔ w શһ͕-FHBDZνΣʔϯΛ۷ΔͷͰɺ -FHBTZνΣʔϯ͚͕ͩ৳ͼΔɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ w

    ϚΠφʔ͕͍ͳ͍ͷͰνΣʔϯ͸ܨ͕ Βͳ͍ /FX -FHBDZ ෼ذ͞Εͳ͍
  10. 10 4PGUGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w -FHBDZ΋/FX΋༗ޮͳνΣʔϯ w ݸʑͷϚΠφʔ͸ͲͪΒΛ۷ͬͯ΋Α ͍ w

    -FHBDZνΣʔϯ͕৳ͼΔͷͰ-FHBDZΛ ۷Δ͜ͱʹͳΔɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w چ࢓༷͸ҧ൓ͨ͠νΣʔϯͳͷͰɺ୹͔ͬ ͨͱͯ͠΋/FXνΣʔϯΛ۷Δɻ /FX -FHBDZ ෼ذ͞ΕΔ
  11. 11 4PGUGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w -FHBDZ΋/FX΋༗ޮͳνΣʔϯ w ݸʑͷϚΠφʔ͸ͲͪΒΛ۷ͬͯ΋Α͍ w /FXνΣʔϯͷࢧ࣋ऀ͕ଟ͍ͨΊ/FXνΣʔ

    ϯΛ۷Δ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w چ࢓༷͸ҧ൓ͨ͠νΣʔϯͳͷͰɺ/FX νΣʔϯΛ۷Δɻ /FX -FHBDZ ෼ذ͞Εͳ͍ ΦʔϑΝϯϒϩοΫʹͳΔ
  12. 12 4PGUGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w ϚΠφʔ͕ଘࡏ͠ͳ͍ͨΊ-FHBDZνΣʔ ϯ͸৳ͼͳ͍ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w

    ͢΂ͯͷϚΠφʔ͕ࢧ͍࣋ͯ͠ΔͨΊɺ /FXνΣʔϯͷΈ৳ͼΔ /FX -FHBDZ ෼ذ͞Εͳ͍
  13. 13 4PGUGPSL·ͱΊ w Ұ࣌తʹ͸෼ذ͢Δ͕ɺ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ଟ਺೿ʹͳΕ͹࠷ऴత ʹ͸ຊʹऩଋ͢Δɻ w ͦͷͨΊ4PGUGPSL͸҆શͱݴΘΕ͍ͯΔɻ w ΋͠ϒϩοΫνΣʔϯʹޙํޓ׵ੑͷ͋ΔΞοϓσʔτ͕ೖͬͨ৔߹ʹ͸ɺ ϚΠφʔͱͯ͠͸ଈ࠲ʹҠͬͨํ͕Α͍ɻ

  14. • F o r k • S o f t

    f o r k • H a r d f o r k
  15. 15 )BSEGPSL w ϒϩοΫνΣʔϯʹޙํޓ׵ੑͷͳ͍มߋ ΛՃ͑ͨ࣌ʹൃੜ͢ΔϒϩοΫνΣʔϯͷ ෼ذͷܗଶ w ޙํޓ׵ੑͷͳ͍มߋͱ͸طଘ࢓༷Λ؇Ί ͨϧʔϧΛઃ͚Δ͜ͱΛࢦ͢ɻ w

    dͷϚΠφʔ͕৽ϧʔϧΛࢧ࣋͠ ͨ࣌ʹ෼ذ͕Ӭଓతʹൃੜ͢Δɻ w ͷϚΠφʔ͕৽ϧʔϧʹҠߦ͢Δ͜ ͱͰچνΣʔϯ͸ఀࢭ͢Δ͕ɺݱ࣮తͰ͸ ͳ͍ɻ
  16. 16 )BSEGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔ w શһ͕-FHBDZνΣʔϯΛ۷ΔͷͰɺ -FHBTZνΣʔϯ͚͕ͩ৳ͼΔɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ w

    ϚΠφʔ͕͍ͳ͍ͷͰνΣʔϯ͸ܨ͕ Βͳ͍ /FX -FHBDZ ෼ذ͞Εͳ͍
  17. 17 )BSEGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w /FX͸ҧ൓ͨ͠νΣʔϯͳͷͰɺ୹͔ͬ ͨͱͯ͠΋-FHBDZνΣʔϯΛ۷Δɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w

    -HBDZ΋/FX΋ͲͪΒ΋༗ޮͳνΣʔϯ w -FHBDZ͕Ұ൪௕͍νΣʔϯͳͷͰɺ -FHBDZνΣʔϯʹ৽࢓༷ͷϒϩοΫΛ৳ ͹ͯ͠෼ذ͢Δ͕ɺ͙͢ΦʔϑΝϯϒϩο ΫʹͳΔɻ /FX -FHBDZ ͔ᷮͳ͚࣌ؒͩ෼ذ͞ΕΔ͕ଓ͔ͳ͍
  18. 18 )BSEGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w /FX͸ҧ൓ͨ͠νΣʔϯͳͷͰɺ୹͔ͬ ͨͱͯ͠΋-FHBDZνΣʔϯΛ۷Δɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w

    -HBDZ΋/FX΋ͲͪΒ΋༗ޮͳνΣʔϯ w Λ௒͑ͨ͜ͱͰɺ/FX͕Ұ൪௕͍ νΣʔϯʹͳΔɻ /FX -FHBDZ ෼ذ͞ΕΔ
  19. 19 )BSEGPSL৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔ͕ͷ৔߹ w چ࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w ϚΠφʔ͕ଘࡏ͠ͳ͍ͨΊ-FHBDZνΣʔ ϯ͸৳ͼͣఀࢭ͢Δɻ w ৽࢓༷Λࢧ࣋ͨ͠ϚΠφʔࢹ఺ w

    ͢΂ͯͷϚΠφʔ͕ࢧ͍࣋ͯ͠ΔͨΊɺ /FXνΣʔϯͷΈ৳ͼΔ /FX -FHBDZ ෼ذͨ͠ঢ়ଶͰ-FHBDZ͕ఀࢭ /FX͚ͩ৳ͼ͍ͯ͘
  20. 20 )BSEGPSL·ͱΊ w ࠷ऴతʹ෼ذ͢ΔͨΊɺผͷνΣʔϯ͕Ͱ͖Δ͜ͱʹͳΔɻ w ͷϚΠφʔ͕৽ϧʔϧʹҠߦ͢Δ͜ͱͰچνΣʔϯ͸ఀࢭ͢Δ͕ɺͲ ͪΒͷνΣʔϯ΋ࢿ࢈తͳՁ஋Λ࣋ͭͨΊ׬શʹҠߦ͢Δ͜ͱ͸ݱ࣮తͰ͸ ͳ͍ɻ w #5$͔Β#$)͕'PSLͨ͠ΒϚΠφʔ͸ใु͕ߴ͍ํΛ۷Δɻ

  21. 21 ·ͱΊ w 4PGUGPSLͱ)BSEGPSLͷେ͖ͳҧ͍͸ɺա൒਺ͷϚΠφʔ͕৽࢓༷Λࢧ࣋ͨ͠ ࣌ʹ෼ذ͢Δ͔Ͳ͏͔ w 4PGUGPSLˠ෼ذ͠ͳ͍ w )BSEGPSLˠ෼ذ͢Δ w

    4PGU'PSL͔)BSEGPSL͔͸ɺҎԼͷ৚͔݅Βಋ͖ग़ͤΔɻ w ࢓༷มߋʹޙํޓ׵ੑ͕͋Δ͔ w ϚΠφʔ͕৽࢓༷Λࢧ͍࣋ͯ͠Δׂ߹