Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
最新のWasm事情
Search
asuka
October 18, 2024
Technology
3.2k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
最新のWasm事情
Niigata5分Tech #13 1周年記念
https://niigata-5min-tech.connpass.com/event/332786/
asuka
October 18, 2024
More Decks by asuka
See All by asuka
GoとSIMDとWasmの今。
askua
3
620
2025年ふりかえり
askua
1
250
ライブラリを公開してメンテナンスした一年
askua
0
120
Wasmの気になる最新情報
askua
1
410
Wasmのエコシステムを使った ツール作成方法
askua
0
450
Pure Goで体験するWasmの未来
askua
1
1.1k
Wasmで社内ツールを作って配布しよう
askua
0
340
Wasm元年
askua
0
410
wstdなんだか良さそう
askua
0
160
Other Decks in Technology
See All in Technology
C#未経験の僕がAIに読めるコードを書かせるまで
maguroalternative
0
110
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
150
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
870
Goodbye ShellScript, Hello File-based App
shunsock
0
400
AIは推し活である。
kurazuuuuuu
1
860
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
10
4.3k
品質と信頼性を地続きにする
grimoh
2
820
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
0
200
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
AI時代、データエンジニアが一番おもろい
genshun9
0
670
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
330
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
240
Game over? The fight for quality and originality in the time of robots
wayneb77
1
280
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
510
Exploring anti-patterns in Rails
aemeredith
4
510
The Cost Of JavaScript in 2023
addyosmani
55
10k
Building AI with AI
inesmontani
PRO
1
1.2k
BBQ
matthewcrist
89
10k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
460
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Transcript
最新のWasm事情 2024.10.18 N5T#13
asuka (@a_skua) • 株式会社モニクル ◦ SWE / プロダクトSRE • WebAssemblyの同人誌を書いている人
◦ WebAssemblyでできること ▪ 商業誌:実践入門WebAssembly ◦ ご注文はWASIですか? ◦ ご注文はWASIですか?? ▪ 商業誌:WebAssembly System Interface入門 ◦ WebAssembly Cookbook vol.1 2 WHOIS
Niigata 5分 Tech 結構参加している 3 • N5T#5 AssemblyScriptではじめるWebAssembly入門 • N5T#8
技術書典16オフライン振り返り • N5T#10 エンジニアコミュニティ • N5T#12 夏の思い出 • N5T#12 go:wasmexport • N5T#13 祝1周年 東京から飲みにきた
最近発売されたWasmの本
5 9月20日発売. → 著書です.買ってね❤ WASI 0.1と0.2の仕様の紹介をする内容. コンポーネントモデルについても扱っている. 最近発売されたWasmの本
6 10月10日発売. → Wasmの最新事情を扱っている本 コンポーネントモデルを使ったWasmの開発の紹介 をしている. 最近発売されたWasmの本
キーワード 「コンポーネントモデル」
コンポーネントモデルとは 従来のWasm • モジュールが1つの単位 • 1バイナリ1モジュール • ESモジュールのようなものだと思ってもらってOK これからのWasm •
複数のモジュールを組み合わせたコンポーネントが1つの単位 • コンポーネント同士の合成もできる 8
よくわからないよね
コンポーネントモデルとは 従来のWasm • モジュールが1つの単位 • 1バイナリ1モジュール • ESモジュールのようなものだと思ってもらってOK これからのWasm •
複数のモジュールを組み合わせたコンポーネントが1つの単位 • コンポーネント同士の合成もできる 10 VMの定義 • どういう命令セットがあるか? データフォーマットの定義 • stringはメモリ上でどう表現されるのか?
• データ定義をするためのIDL「WITを提供」 • WITに対応するABIが定義されている → WITからコードを自動生成できる コンポーネントモデルとは 11 record customer
{ id: u64, name: string, picture: option<list<u8>>, account-manager: employee, } enum color { hot-pink, lime-green, navy-blue, } example.wit 高レイヤーのデータ型を定義できる ProtobufやGraphQLと同じ世界観
コンポーネントモデルとは 12 record customer { id: u64, name: string, picture:
option<list<u8>>, account-manager: employee, } enum color { hot-pink, lime-green, navy-blue, } example.wit インターフェースをexportするためのコードを生成 インターフェースをimportするためのコードを生成 Wasmコンポーネントにビルド Wasmコンポーネントにビルド ( `・ω・´) COMPOSE!! ≡⊃C⊂≡ Wasmコンポーネント
サーバーサイドだけじゃない
コンポーネントモデルとは 14 record customer { id: u64, name: string, picture:
option<list<u8>>, account-manager: employee, } enum color { hot-pink, lime-green, navy-blue, } example.wit インターフェースをexportするためのコードを生成 Wasmをimportするためのグルーコードを生成 Wasmモジュールにビルド Wasmのimport フロントエンドの実装 グルーコードのimport こういうこともできる
コンポーネントモデルとは 15 record customer { id: u64, name: string, picture:
option<list<u8>>, account-manager: employee, } enum color { hot-pink, lime-green, navy-blue, } example.wit インターフェースをexportするためのコードを生成 Wasmをimportするためのグルーコードを生成 Wasmモジュールにビルド Wasmのimport フロントエンドの実装 グルーコードのimport Microsoftがwit2tsを作っている https://github.com/microsoft/vscode-wasm
技術書典17で同人誌として出します 16 まだ1章しか書いてないのは内緒 WebAssembly Cookbook vol.2 技術書典16 技術書典17
最新のWasm事情 2024.10.18 N5T#13