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
500
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
270
Your benchmark may not guide real application performance
tetsuharuohzeki
4
3.5k
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
40
Other Decks in Programming
See All in Programming
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
190
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
testcontainers のススメ
sgash708
1
120
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
140
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
140
nekko cloudにおけるProxmox VE利用事例
irumaru
3
440
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
140
Go の GC の不得意な部分を克服したい
taiyow
3
800
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
190
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
400
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Language of Interfaces
destraynor
154
24k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Typedesign – Prime Four
hannesfritz
40
2.4k
RailsConf 2023
tenderlove
29
940
The Pragmatic Product Professional
lauravandoore
32
6.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Visualization
eitanlees
146
15k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
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ͰࡁΉ߹͋Μ· Γؔͳͦ͞͏