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
小粒でもパワフルなJS Runtime Antjsについて
Search
Comamoca
August 17, 2026
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
小粒でもパワフルなJS Runtime Antjsについて
Comamoca
August 17, 2026
More Decks by Comamoca
See All by Comamoca
Gleamアップデート情報 2026
comamoca
0
160
Gleamという選択肢
comamoca
6
1.2k
Other Decks in Technology
See All in Technology
今さら理解するウェブフォントver.2026
takanorip
3
700
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
130
Loop Engineering, beyond prompt, context, and harness engineering
glaforge
0
110
大型犬好きによるPugの紹介
yamanoku
1
150
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
430
How to Design Configuration for Rails Applications
willnet
0
430
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
310
AIは「聞けば答える」から「任せると自分で進める」へ - JACTIMペナン地域部会・ペナン三水会講演
knishioka
0
110
Classmethod Company Deck
satoshi7
0
190
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
290
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
280
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
310
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
New Earth Scene 8
popppiees
4
2.7k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Transcript
小粒でもパワフルな JS Runtime Antjs について Ginza.js #11 こまもか
自己紹介 • 25 卒 • Gleam という言語を 4 年くらい追っかけてる •
最近はアイマスしかやってない • 最近お絵描きの練習を始めた
JS をシングルバイナリにするソ リューション • JS を単一バイナリにしたい場面は往々にしてある
JS をシングルバイナリにするソ リューション • JS を単一バイナリにしたい場面は往々にしてある • Claude Code とか
JS をシングルバイナリにするソ リューション • JS を単一バイナリにしたい場面は往々にしてある • Claude Code とか
• `deno compile`とか`bun build`とか
JS をシングルバイナリにするソ リューション • JS を単一バイナリにしたい場面は往々にしてある • Claude Code とか
• `deno compile`とか`bun build`とか • バイナリがデカくなったり起動が遅かったりする
JS をシングルバイナリにするソ リューション • JS を単一バイナリにしたい場面は往々にしてある • Claude Code とか
• `deno compile`とか`bun build`とか • バイナリがデカくなったり起動が遅かったりする • でも便利
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた • 軽量な
JS Runtime
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた • 軽量な
JS Runtime • V8, JSC, SpiderMonkey に依存していない
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた • 軽量な
JS Runtime • V8, JSC, SpiderMonkey に依存していない • コールドスタートが 5ms 程度
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた • 軽量な
JS Runtime • V8, JSC, SpiderMonkey に依存していない • コールドスタートが 5ms 程度 • Bun より速い
AntJS について • シングルバイナリにしやすい JS Runtime を探している時に見つ けた • 軽量な
JS Runtime • V8, JSC, SpiderMonkey に依存していない • コールドスタートが 5ms 程度 • Bun より速い • MIR ベースの JIT も組込まれている
AntJS について • 大抵この手の JS Runtime は変な制約がある
AntJS について • 大抵この手の JS Runtime は変な制約がある • Ant は
WinterTC Minimum Common API に準拠しているため、 WebAPI を用いたコードが動く
AntJS について • 大抵この手の JS Runtime は変な制約がある • Ant は
WinterTC Minimum Common API に準拠しているため、 WebAPI を用いたコードが動く • つまり Hono とかが動く
AntJS について • 大抵この手の JS Runtime は変な制約がある • Ant は
WinterTC Minimum Common API に準拠しているため、 WebAPI を用いたコードが動く • つまり Hono とかが動く • Node の shims も一部組込まれている
AntJS について • 軽量かつ高速に実行できるため、サンドボックスとしても使え る import { Sandbox } from
'ant:sandbox' const box = new Sandbox(({ mount: '.:/workspace' })) await box.run('untrusted.js') await box.close()
シングルバイナリソリューションと しての Ant • シングルバイナリにする単一のコマンドは現状ない
シングルバイナリソリューションと しての Ant • シングルバイナリにする単一のコマンドは現状ない • issue は立っているため、実装の気配はある
シングルバイナリソリューションと しての Ant • シングルバイナリにする単一のコマンドは現状ない • issue は立っているため、実装の気配はある • C
の API があるため、bundle した JS を C コードに埋め込む形 でビルドすればできそう?
まとめ • JS を単一バイナリに出来ると便利
まとめ • JS を単一バイナリに出来ると便利 • 起動時間が遅いなどのトレードオフがある
まとめ • JS を単一バイナリに出来ると便利 • 起動時間が遅いなどのトレードオフがある • Ant のような軽量な JS
Runtime を活用してバンドルすれば代償 を和らげられる
まとめ • JS を単一バイナリに出来ると便利 • 起動時間が遅いなどのトレードオフがある • Ant のような軽量な JS
Runtime を活用してバンドルすれば代償 を和らげられる • Ant を使っていきたい