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
小粒でもパワフルなJS Runtime Antjsについて
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Comamoca
August 17, 2026
Technology
130
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
110
Gleamという選択肢
comamoca
6
1.2k
Other Decks in Technology
See All in Technology
V8コントリビュート超入門
riyaamemiya
0
140
Bet AI Day 2026丨Agentは、「金融」という巨大産業の何を変えられるのか
layerx
PRO
0
1k
Bet AI Day 2026丨バクラク Autopilot、業務システムの再設計
layerx
PRO
2
1.5k
データエンジニアの困りごとをDevinと一緒に解消する
10xinc
2
830
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
0
180
振り返りこそエンジニアの本領
negima
0
310
Hub & Spoke 環境のネットワークルーティングを分解してみる
tsuyataku
1
530
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
310
Benchmarking Vector Databases: pgvector vs. LanceDB
tsho
0
140
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
0
100
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
200
Bet AI Day 2026丨Production-Ready AI Agents — エンタープライズの実務を任せるための設計と運用
layerx
PRO
3
2.4k
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
460
The Invisible Side of Design
smashingmag
301
52k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
Balancing Empowerment & Direction
lara
6
1.3k
Agile that works and the tools we love
rasmusluckow
331
22k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
510
The Language of Interfaces
destraynor
162
27k
GitHub's CSS Performance
jonrohan
1033
470k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Faster Mobile Websites
deanohume
310
32k
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 を使っていきたい