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
280
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
970
Servo inside (Introduction to Servo's DOM binding), Gecko Inside #6
tetsuharuohzeki
0
40
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
Rubyでつくるパケットキャプチャツール
ydah
0
170
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
情報漏洩させないための設計
kubotak
5
1.3k
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
Beyond ORM
77web
11
1.6k
Scaling your build logic
antalmonori
1
100
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
220
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
Amazon Nova Reelの可能性
hideg
0
200
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Unsuck your backbone
ammeep
669
57k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Into the Great Unknown - MozCon
thekraken
34
1.6k
The Invisible Side of Design
smashingmag
299
50k
Thoughts on Productivity
jonyablonski
68
4.4k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
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ͰࡁΉ߹͋Μ· Γؔͳͦ͞͏