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

DenoでもBunでもいいから 最速を目指す

Yusuke Wada
September 05, 2022

DenoでもBunでもいいから 最速を目指す

Yusuke Wada a.k.a yusukebe
2022/09/05 Node学園 40時限目

Yusuke Wada

September 05, 2022
Tweet

More Decks by Yusuke Wada

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ w :VTVLF8BEBBLBZVTVLFCF w ϘέͯDPGPVOEFS w :"1$"TJBϕεττʔΫ৆ड৆ w גࣜձࣾτϥϕϧϒοΫ 


    εʔύʔόΠβʔ w UXJUUFSDPNZVTVLFCF w HJUIVCDPNZVTVLFCF 
 /PEFֶԂॳࢀՃͰ͢
  2. )POPͱ͍͏ϑϨʔϜϫʔΫΛ͍ͭͬͯ͘·͢ w 8FCϑϨʔϜϫʔΫɾϧʔλʔ w 8FC4UBOEBSE'FUDIͷ"1*ͷΈΛ࢖༻ w ϚϧνϓϥοτϑΥʔϜ w $MPVE fl

    BSF8PSLFSTɺ'BTUMZ$PNQVUF!&EHFɺ%FOPɺ#VO w ϛυϧ΢ΣΞͰػೳ௥Ճ w 5SJF3PVUFS EFGBVMU ͱ3FH&YQ3PVUFSͷͭͷϧʔλʔ͕͋Δ IUUQTIPOPKTEFW
  3. %FOPɺ#VO w #VO w #VOJTBGBTUBMMJOPOF+BWB4DSJQUSVOUJNF 
 IUUQTCVOTI w %FOP w

    0VSHPBMJTUPNBLF%FOPUIFGBTUFTU+BWB4DSJQUSVOUJNF 
 IUUQTEFOPDPNCMPHDIBOHFT )POP͸ͲͪΒͰ΋ಈ͘ͷͰ %FOPͰ΋#VOͰ΋Ͳ͜Ͱಈ͔ͯ͠΋͍͍͔Β Ұ൪଎͍ϑϨʔϜϫʔΫΛ໨ࢦͯ͠ΈΑ͏
  4. 1PTU+40/ w BXBJUBTZODΛ࢖͏ͱ,JOH8PSMEͷύϑΥʔϚϯε΋མͪΔ w (&5  ͳͲ͸ಉظత w )POP͸ ౰࣌

    શͯͷϋϯυϥͰBXBJU͢Δॲཧ͕ೖ͍ͬͯͨ BTZODϋϯυϥͷαϙʔτ BXBJU͢Δॲཧ͕શϋϯυϥʹରͯ͠ߦΘΕ͍ͯͨ 1PTU+40/
  5. #VOWDBOBSZ 
 )POP "dependencies": { "@kapson fi re/bun-bakery": "^0.3.2", "@nbit/bun":

    "^0.7.0", "baojs": "^0.1.3", "bunrest": "^1.1.0", "colstonjs": "latest", "express": "^4.18.1", "hyperbun": "^0.4.6", "kingworld": "^0.0.0-experimental.24" } )POP଎͍ͧ
  6. ͍ͬͨΜײ૝ w ύϑΥʔϚϯεΛͱΔ͔ϝϯςφϏϦςΟΛͱΔ͔ʁ w 6MUSBGBTUΛΞΠσϯςΟςΟʹͯ͠ΔͷͰͳΔ΂͘଎͘ w ػೳ΋͋ΔͷͰ࠷଎͸େม w ϕϯνϚʔΫ͸ʮͳ·΋ͷʯ w

    ϕϯνϚʔΫ͸೉͍͠ w ؀ڥɺϥϯλΠϜͷ࣮૷ w #VOͷϨεϙϯεϔομʹ͸A%BUFAϔομ͕ͳ͍FUD w ఢΛ࡞ΔՄೳੑ͕͋Δ