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
Comamoca
August 17, 2026
Technology
100
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という選択肢
comamoca
6
1.1k
Other Decks in Technology
See All in Technology
認知負荷をGemini で溶かす — GKE 基盤「Orbit」における AI エージェントの実践
sansantech
PRO
1
320
LanceDB入門
mocobeta
9
600
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
20k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
Goでデータパイプラインを作ろう
sansantech
PRO
1
510
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
160
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.2k
コーチングの奥義 何もしないテクニック
jinwatanabe
0
110
その“隠したつもり”が命取り ── 自前と平文をやめて「正解」に委ねる
kuroneko13
0
130
My broken English still works: speaking at global OSS events
naruoga
0
110
PLATEAU で バーチャル花火大会
tatsuya1970
0
170
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
260
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
The Curious Case for Waylosing
cassininazir
1
460
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
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 を使っていきたい