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
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
380
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
370
並行性の問題を防げ!実践トランザクション入門
occhi
0
280
Deep Data Security 機能解説
oracle4engineer
PRO
2
780
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
260
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.7k
Essential architectural thinking (revised edition)
ufried
0
110
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.5k
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
SREでアラート疲れを 解決しよう!
kairim0
1
220
会社説明資料
persolserverworks
0
9.7k
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
730
エンジニアに許された特別な時間の終わり
watany
109
250k
Designing for Performance
lara
612
70k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
920
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Making Projects Easy
brettharned
120
6.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 を使っていきたい