Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WASIの話(2019 July, Emscripten & WebAssembly nigh...
Search
Tetsuharu Ohzeki
July 24, 2019
Programming
1
490
WASIの話(2019 July, Emscripten & WebAssembly night !! #8 )
Emscripten & WebAssembly night !! #8
https://emsn.connpass.com/event/136346/
での発表
Tetsuharu Ohzeki
July 24, 2019
Tweet
Share
More Decks by Tetsuharu Ohzeki
See All by Tetsuharu Ohzeki
Lessons by WebAssembly app in production on CDN Edge Computing Service
tetsuharuohzeki
0
250
Your benchmark may not guide real application performance
tetsuharuohzeki
4
3.4k
Summary of JavaScript Standard Library (Stage 1) Proposal
tetsuharuohzeki
0
410
Client-side JS for infeed layout native ad at fluct SSP
tetsuharuohzeki
2
1.9k
beyondtheflux-150927075557-lva1-app6892.pdf
tetsuharuohzeki
0
100
Introduction to Rx without saying "reactive" or "functional"
tetsuharuohzeki
6
960
Servo inside (Introduction to Servo's DOM binding), Gecko Inside #6
tetsuharuohzeki
0
35
Other Decks in Programming
See All in Programming
カラム追加で増えるActiveRecordのメモリサイズ イメージできますか?
asayamakk
4
1.9k
Amazon Qを使ってIaCを触ろう!
maruto
0
370
みんなでプロポーザルを書いてみた
yuriko1211
0
190
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
110
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
290
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1.1k
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
240
C++でシェーダを書く
fadis
6
3.9k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.1k
役立つログに取り組もう
irof
28
9.4k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
How STYLIGHT went responsive
nonsquared
95
5.2k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Adaptive Systems
keathley
38
2.3k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
KATA
mclloyd
29
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Teambox: Starting and Learning
jrom
133
8.8k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Transcript
8"4*ʹ͍ͭͯ TBOFZVLJ@T
8"4.͓͞Β͍ w ͦͦ͜͜ͷQFSGPSNBODFͰTFDVSFʹಈ͔ͤΔ ʢͷ͕ظͰ͖Δʣ*4" w 1PSUBCMF 4BOECPYͳ&YFDVUBCMFϑΥʔϚοτͱͯ͠ ͷ࠾༻ͷ֦େ w FH'BTUMZ5FSSBSJVN
1PSUBCJMJUZ1SPCMFN w ϒϥβҎ֎Ͱ࣮ߦ͠Α͏ͱͨ͠߹ɺ"1*ͷඪ४ηοτ ͕ͳ͍ w ຒΊࠐΉଆ͕ຖճఆ͍͍͕ٛͯͣͩ͠ʜʜ w Կͳ͍ΑΓ͋ͬͨ΄͏͕͍͍
8"4* • The WebAssembly System Interface • ϒϥβͷ֎Ͱಈ͔ͨ͢ΊͷinterfaceΛఆٛ͢Δ • Mozilla
+ Fastly + npm + Node.jsͳ࠲Έ • https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/ • designશମతʹunstableͱڧௐ͞Ε͍ͯΔͷཱ͕ͭ
"SDIJUFDUVSF0WFSWJFX IUUQTSBXHJUIVCVTFSDPOUFOUDPN$SBOF4UBUJPOXBTNUJNFNBTUFSEPDTXBTJTPGUXBSFBSDIJUFDUVSFQOH
"#* VOTUBCMF w _start() w ϓϩάϥϜͷར༻͢ΔΤϯτϦʔϙΠϯτ w XBTNMME͕ظ͢ΔσϑΥϧτ໊ w XBTNͷTUBSUηΫγϣϯॳظԽͱ॥ࢀরͳͲͷͰ
ݱࡏ༻ͤͣ w memory w ϓϩάϥϜͷར༻͢ΔઢܗϝϞϦۭؒ w "1*ͷଟ͕͘IPTUBQQMJDBUJPOؒͰϝϞϦΛڞ༻ͯ͠Δલఏʹཱ͍ͬͯ ΔͷͰFYQPSUඞਢ
"1* w 104*9MJLF w ͨͩ͠NNBQͱ͔ແ͍ w ൺֱత͍ԾϝϞϦΞυϨεۭؒͷཁٻʹ ͭͳ͕ΔͨΊ w TPDLFUपΓݶఆత
w$BQBCJMJUZ0SJFOUFE%FTJHO
$BQBCJMJUZ0SJFOUFE%FTJHO w ແ੍ݶͳϦιʔεͷΞΫηεΛڐ༰͠ͳ͍ w 8"4*Ͱ$MPVE"#* $BQTJDVN Λయڌͱ͍ͯ͠Δ w pMFEFTDSJQUPSʹجͮ͘ΞΫηεཧ w
PQFO Ͱͳ͘PQFOBU
)PXUPOFUXPSLJOH w TPDLFU DPOOFDU MJTUFO ʹ૬͢Δ"1*ͳ͍ͷͰ ҙͷTPDLFU௨৴࢝ΊΔͷແཧ • remember capability
oriented design • c.f. CloudABI֎෦ʹconfigΛఆٛ͢Δ͜ͱͰରॲ w @@XBTJ@TPDL@SFDW ͱ@@XBTJ@TPDL@TFOE ͋Δ w 'JMFEFTDSJQUPS͑͞༻ҙͰ͖ΕϝοηʔδΛड͚औΔ͜ͱ Մೳ
/FUXPSLJNQMFNFOUBUJPO w ઐ༻ͷOFUXPSLMJCSBSZΛΘͤΔ࣮͕ଟ͍ w -VDFU w l8FTVQQPSUUIFFOUJSF8"4*"1* XJUIUIFFYDFQUJPOPGTPDLFU SFMBUFETZTDBMMT5IFTFXJMMCFBEEFEXIFOOFUXPSLBDDFTTJT TUBOEBSEJ[FEz
w XBTNFS w LFSOFMOFUDSBUFܦ༝Ͱݺͼग़͢
·ͱΊ w XBTNॲཧܥ࡞ͬͯΔਓݟ͓͍ͯͨ΄͏͕͍͍͔Ͷ w XBTNUJNFXBTNFSͷFNCFEEFEͰࡁΉ߹͋Μ· Γؔͳͦ͞͏