Rust and Blockchain

1dfa2bb34977b1db41d0d46d4505183f?s=47 Osuke
April 24, 2019

Rust and Blockchain

1dfa2bb34977b1db41d0d46d4505183f?s=128

Osuke

April 24, 2019
Tweet

Transcript

  1. ϒϩοΫνΣʔϯ෼໺ʹ͓͚Δ
 3VTUΤίγεςϜͷ঺հͱ
 εϨουฒྻॲཧͷ͋Ε͜Ε

  2. w -BZFS9ͷ3%෦໳ w ϒϩοΫνΣʔϯ͕޷͖ͰΤϯδχΞ ʹͳͬͨɻ w 3VTUͰϒϩοΫνΣʔϯ΍҉߸ϓϩ τίϧͷ։ൃΛ୲౰ w ࠷ۙɺ;FSPDIBJO͍ͬͯ͏ൿಗԽϒ

    ϩοΫνΣʔϯΛϦϦʔεʂ 0TVLF 5XJUUFS![PPN@[PPN[P
  3. 3VTUΤίγεςϜ w 1BSJUZ &UIFSFVN  w -JHIU)PVTF &UISFVN  w

    (SJO .JOCMF8JNCMF  w OFBSDPSF OFBSQSPUPDPM  w MJCQQ 11ωοτϫʔΫ  w 4VCTUSBUF ϒϩοΫνΣʔϯ
 ϑϨʔϜϫʔΫʣ w #-4ʢପԁۂઢʣ w +VCKVCʢପԁۂઢʣ w DVSWFEBMFL
 ʢପԁۂઢʣ w #FMMNBO θϩ஌ࣝূ໌ʣ w CVMMFUQSPPGTʢθϩ஌ࣝূ໌ʣ w NVMUJQBSUZFDETB ॺ໊ ҉߸ ϒϩοΫνΣʔϯ
  4. (SJOൿಗૹۚϒϩοΫνΣʔϯ 4VCTUSBUFϒϩοΫνΣʔϯ։ൃͷϑϨʔϜϫʔΫ ϒϩοΫνΣʔϯ෼໺

  5. ҉߸෼໺ ߴ଎҆શͳପԁۂઢϥΠϒϥϦ ϖΞϦϯάϑϨϯυϦʔͳପԁۂઢ

  6. ପԁۂઢͷύϥϝλΛ &OHJOFτϨΠτͷؔ࿈ܕ ͱͯ͠ఆٛ ۂઢ্ͷ܈ߏ଄ͷఆٛ (ͷࣹӨฏ໘ఆٛ (ͷΞϑΟϯฏ໘ఆٛ (ͷࣹӨฏ໘ఆٛ

  7. w Φʔϓϯιʔεʂ w IUUQTHJUIVCDPN-BZFS9DPN[FSPDIBJO w શͯ3VTUͰ࣮૷ w ͬ͘͟Γಛ௃ w ϒϩοΫνΣʔϯʹه࿥͢ΔσʔλΛશͯ҉߸Խͯ͠อଘ

    w ଞਓͷσʔλʢ҉߸௨՟ͷอ༗ྔͱ͔ʣΛݟΕͳ͍Α͏ʹ͍ͯ͠Δ ;FSPDIBJO
  8. θϩ஌ࣝূ໌ w Πϯϓοτ஋Λ໌Β͔ʹ͠ͳ͍Ͱܭࢉ݁Ռ͕ਖ਼͍͜͠ͱΛূ໌  ҉߸Խ YGBʜ w ʮʯͱ͍͏ਖ਼͍͠਺ࣈ͕ຊ౰ʹ҉߸Խ͞Ε͍ͯΔͷ͔ʁ w ਖ਼͍͠ެ։伴Ͱຊ౰ʹ҉߸Խ͞Ε͍ͯΔͷ͔ʁ

    ʮʯΛ໌Β͔ʹ͠ͳ͍Ͱূ໌ʂ [L1SPPG ূ໌ऀ ݕূऀ
  9. θϩ஌ࣝূ໌͸ ͱͯ΋ॏ͍ॲཧ ;FSPDIBJOͷશମεΩʔϜ #FMMNBOϥΠϒϥϦΛ ϕʔεʹฒྻॲཧ

  10. εϨουฒྻॲཧ
 4DPQFE5ISFBEͱ5ISFBE1PPM

  11. w 4DPQFEUISFBEͷͨΊͷ $SPTTCFBNͱ
 5ISFBEQPPMͷͨΊͷ $QV1PPMͷ
 ബ͍ϥούʔΛ༻ҙ w ཁ͸ɺSBZPOతͳ΋ͷΛࣗલ࣮૷ w SBZPO࢖͏ΑΓ଎͍Β͍͠

    w θϩ஌ࣝূ໌Ͱͷ''5΍ଟ߲ࣜԋ ࢉͳͲͷॏ͍ॲཧΛ
 4DPQFEεϨουʹ5BTLͱͯ͠౤ ͍͛ͯ͘ɻ ֓ཁ
  12. $SPTTCFBN w 3BZPO ฒྻॲཧϥΠϒϥϦ ΍5PLJP ඇಉظ*0ϥΠϒϥϦ ʹ΋࢖ΘΕ ͍ͯΔฒߦϓϩάϥϜͷͨΊͷMPXMFWFMͳϥΠϒϥϦ w TUETZODͷਐԽ൛Έ͍ͨͳΠϝʔδ

    w TDPQF4DPQFEεϨουΛఏڙ w EFRVFXPSLTUFBMJOHϕʔεͷλεΫεέδϡʔϥ w DIBOOFM.14$Ͱ͸ͳ͘.1.$ w "UPNJD$FMMΞτϛοΫͳ$FMMܕ "UPNJD3FGFSFODF͸50%0ʣ w ɾɾɾ
  13. 4DPQFEUISFBE w 4DPQF಺Ͱ5ISFBE͕+PJO͞ΕΔ ͜ͱ͕อূ͞Ε͍ͯΔͷͰ0, DSPTTCFBN@VUJMTUISFBETDPQF w QFPQMFͷϥΠϑλΠϜ ͸`TUBUJDͳͷͰίϯύΠϧΤϥʔ TUEUISFBE

  14. 8PSLTUFBMJOHBMHPSJUIN w DSPTTCFBN@EFRVF EPVCMFFOEFERVFVF ͳͲ͕ఏڙ w GVUVSFΛ࣮ߦ͢ΔεϨου͝ͱͷλεΫ࣮ߦΩϡʔΛϩʔυόϥϯγϯά w ଞͷϫʔΧʔεϨου͕Ωϡʔ͔ΒzTUFBMz͢Δઓུ w

    ϩοΫΛͰ͖Δ͚ͩগͳ͘Ұ൪େ͖ͳλεΫΛzTUFBMzͤ͞Δ
  15. 5ISFBEQPPM w UPLJPUISFBE@QPPM w 8PSLTUFBMJOH'*'0 λεΫGBJSOFTTͷ༏ઌʣ w SBZPO5ISFBE1PPM w 8PSLTUFBMJOH-*'0

    Ωϟογϡ׆༻ͷ༏ઌ  w  GVUVSFT@DQVQPPM  GVUVSF@FYFDVUPSUISFBE@QPPM w GBJSOFTT༏ઌ ϕϯνϚʔΫ SBZPOؒʹ߹Θͣʣ
  16. g(x) = b0 + b1 x + . . .

    + bn xn f(x) = a0 + a1 x + . . . + an xn w Α͠ͳͳཁૉ਺͝ͱʹΑ͠ͳʹϚϧνεϨουॲཧ ଟ߲ࣜԋࢉΛฒྻॲཧ (n = 106)
  17. 0TVLF 5XJUUFS![PPN@[PPN[P ऴΘΓʂ