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
170
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
生き様としてのSRE
hokkai7go
1
150
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
450
仕様駆動開発の、その先へ。決める力と確かめる仕組み
inariku
1
160
Lint の層を組み直した話
bengo4com
2
290
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
210
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
2.7k
[General] 개발자로 해외 기업에서 일하기
skydoves
1
260
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
140
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
750
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
0
6.8k
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
560
なぜAI時代に技術記事を書くのか?どう書くのか? 〜bunの場合〜
kworkdev
PRO
0
4k
Featured
See All Featured
KATA
mclloyd
PRO
35
16k
The SEO identity crisis: Don't let AI make you average
varn
0
620
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
390
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Tell your own story through comics
letsgokoyo
1
1.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
590
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
660
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
How to make the Groovebox
asonas
2
2.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Into the Great Unknown - MozCon
thekraken
41
2.8k
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 を使っていきたい