Show HN: Ant – A from-scratch JavaScript runtime in 9 MB
A small, performant JavaScript runtime designed for CLIs and small Docker containers, claiming 2.4x faster coldstart than Bun and 5.8x faster than Node.js in specific benchmarks.
View Origin Link
Product Positioning & Context
AI Executive Synthesis
A small, performant JavaScript runtime designed for CLIs and small Docker containers, claiming 2.4x faster coldstart than Bun and 5.8x faster than Node.js in specific benchmarks.
Ant addresses the critical need for highly optimized, lightweight JavaScript runtimes in environments where resource consumption and cold start times are paramount, such as serverless functions, CLI tools, and constrained Docker containers. Its minimal binary size (9MB) and reported cold start performance significantly outperform established runtimes like Bun and Node.js in specific benchmarks. By building a custom engine rather than wrapping existing ones, Ant targets a niche focused on extreme efficiency and control. This innovation challenges the prevailing assumption that JavaScript runtimes must be large, opening new deployment possibilities for JavaScript applications in resource-sensitive contexts, particularly where cost and speed are critical.
Hey HN! I have been working on Ant for a while now, would love to share around now.What is Ant? It's my JavaScript runtime, built from scratch over many hours of work. Much effort has gone into keeping the binary size small, around 9MB at the moment (6.5 MB with -Os). On my M4 Pro, the hono coldstart bench (examples/npm/hono/bench-coldstart.js) lands around 5ms, about 2.4x faster than bun, and 5.8x faster than node.To keep things small, the engine ("Ant Silver") is hand-written, not a wrapper around V8/JSC/SpiderMonkey. The JIT is still a work in progress but it uses a fork of MIR as the backend.Ant currently targets the WinterTC Minimum Common API, while also passing 100% the javascript-zoo compat-table tests, and is sitting around 64% on test262.Why did I build Ant? Well, I wanted a runtime small enough to ship with CLI's and small Docker containers without having to drag along 50 to 100mb of just runtime. Ant in its current state is performant enough in some cases to compete with v8, but mostly in specific shapes.Background on how it got here: https://themackabu.dev/blog/ant-part-twoOnline demo shell/container: https://ant.axIf anyone has questions about Ant, such as the engine, im happy to answer any of them! Feedback is also appreciated, if you run your own code and hit some edge case.
JavaScript runtime
binary size small
9MB
6.5 MB with -Os
M4 Pro
hono coldstart bench
bun
node
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Ant – A from-scratch JavaScript runtime in 9 MB?
Ant – A from-scratch JavaScript runtime in 9 MB is analyzed by our AI as: A small, performant JavaScript runtime designed for CLIs and small Docker containers, claiming 2.4x faster coldstart than Bun and 5.8x faster than Node.js in specific benchmarks.. It focuses on Ant addresses the critical need for highly optimized, lightweight JavaScript runtimes in environments where resource consumption and cold start tim...
Where did Ant – A from-scratch JavaScript runtime in 9 MB originate?
Data for Ant – A from-scratch JavaScript runtime in 9 MB was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Ant – A from-scratch JavaScript runtime in 9 MB publicly launched?
The initial public indexing or launch date for Ant – A from-scratch JavaScript runtime in 9 MB within our tracked developer communities was recorded on May 9, 2026.
How popular is Ant – A from-scratch JavaScript runtime in 9 MB?
Ant – A from-scratch JavaScript runtime in 9 MB has achieved measurable traction, logging over 6 traction score and facilitating 1 recorded discussions or engagements.
Which technical categories define Ant – A from-scratch JavaScript runtime in 9 MB?
Based on metadata extraction, Ant – A from-scratch JavaScript runtime in 9 MB is categorized under topics such as: JavaScript runtime, binary size small, 9MB, 6.5 MB with -Os.
What are some commercial alternatives to Ant – A from-scratch JavaScript runtime in 9 MB?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as AppDeploy, which offers overlapping value propositions.
How does the creator describe Ant – A from-scratch JavaScript runtime in 9 MB?
The original author or development team describes the product as follows: "Hey HN! I have been working on Ant for a while now, would love to share around now.What is Ant? It's my JavaScript runtime, built from scratch over many hours of work. Much effort has gone into kee..."
Community Voice & Feedback
No active discussions extracted yet.
Discovery Source

Hacker News
Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.