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
510
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
1
310
Your benchmark may not guide real application performance
tetsuharuohzeki
4
3.5k
Summary of JavaScript Standard Library (Stage 1) Proposal
tetsuharuohzeki
0
420
Client-side JS for infeed layout native ad at fluct SSP
tetsuharuohzeki
2
1.9k
beyondtheflux-150927075557-lva1-app6892.pdf
tetsuharuohzeki
0
110
Introduction to Rx without saying "reactive" or "functional"
tetsuharuohzeki
6
970
Servo inside (Introduction to Servo's DOM binding), Gecko Inside #6
tetsuharuohzeki
0
49
Other Decks in Programming
See All in Programming
Go1.24で testing.B.Loopが爆誕
kuro_kurorrr
0
160
eBPF Updates (March 2025)
kentatada
0
130
私の愛したLaravel 〜レールを超えたその先へ〜
kentaroutakeda
12
3.6k
バックエンドNode.js × フロントエンドDeno で開発して得られた知見
ayame113
5
1.3k
Return of the Full-Stack Developer
simas
PRO
1
320
爆速スッキリ! Rspack 移行の成果と道のり - Muddy Web #11
dora1998
1
150
体得しよう!RSA暗号の原理と解読
laysakura
3
540
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
3.1k
AtCoder Heuristic First-step Vol.1 講義スライド
terryu16
2
1k
OpenTelemetryを活用したObservability入門 / Introduction to Observability with OpenTelemetry
seike460
PRO
0
340
AtCoder Heuristic First-step Vol.1 講義スライド(山登り法・焼きなまし法編)
takumi152
3
980
아직도 SOLID 를 '글'로만 알고 계신가요?
sh1mj1
0
360
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.5k
It's Worth the Effort
3n
184
28k
Docker and Python
trallard
44
3.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Scaling GitHub
holman
459
140k
Adopting Sorbet at Scale
ufuk
75
9.3k
How to Think Like a Performance Engineer
csswizardry
22
1.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Raft: Consensus for Rubyists
vanstee
137
6.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
177
52k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
118
51k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
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ͰࡁΉ߹͋Μ· Γؔͳͦ͞͏