{"id":51829944,"url":"https://github.com/theMackabu/ant","last_synced_at":"2026-07-29T11:00:47.940Z","repository":{"id":325365837,"uuid":"1100903148","full_name":"theMackabu/ant","owner":"theMackabu","description":"javascript for 🐜's, a tiny runtime with big ambitions","archived":false,"fork":false,"pushed_at":"2026-07-28T03:56:53.000Z","size":14620,"stargazers_count":1017,"open_issues_count":12,"forks_count":28,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-07-28T04:07:15.225Z","etag":null,"topics":["ant","antjs","engine","javascript","nodejs","npm","portable","runtime","typescript"],"latest_commit_sha":null,"homepage":"https://antjs.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theMackabu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":"GOVERNANCE.md","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-20T23:17:01.000Z","updated_at":"2026-07-28T03:23:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4ead8e8-f153-4e58-a764-7de9e3540668","html_url":"https://github.com/theMackabu/ant","commit_stats":null,"previous_names":["themackabu/ant"],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/theMackabu/ant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theMackabu%2Fant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theMackabu%2Fant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theMackabu%2Fant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theMackabu%2Fant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theMackabu","download_url":"https://codeload.github.com/theMackabu/ant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theMackabu%2Fant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36029680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-29T02:00:04.910Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant","antjs","engine","javascript","nodejs","npm","portable","runtime","typescript"],"created_at":"2026-07-22T14:00:21.150Z","updated_at":"2026-07-29T11:00:47.925Z","avatar_url":"https://github.com/theMackabu.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# 🐜 Ant\n\n_An ant carries 50× its weight. So does this one._\n\nAnt is a lightweight, high-performance JavaScript runtime built from scratch. \u003cbr\u003e\nBuilt to carry more than it weighs without compromising performance.\n\n```bash\n$ ls -lh ant\n-rwxr-xr-x⠀8.9M⠀ant*\n\n# built with -Os\n-rwxr-xr-x⠀4.4M⠀ant*\n```\n\n## Table of contents\n\n- [Why Ant?](#why-ant)\n- [Installation](#installation)\n- [Benchmarks](#benchmarks)\n- [Spec conformance](#spec-conformance)\n- [Building Ant](#building-ant)\n- [Security](#security)\n- [Community](#community)\n- [Contributing to Ant](#contributing-to-ant)\n\n## Why Ant?\n\n|                     | Ant        | Node    | Bun    | Deno   |\n| ------------------- | ---------- | ------- | ------ | ------ |\n| Binary size         | **~9 MB**  | ~120 MB | ~60 MB | ~90 MB |\n| Cold start          | **~5 ms**  | ~31 ms  | ~13 ms | ~25 ms |\n| Engine              | Ant Silver | V8      | JSC    | V8     |\n| JIT                 | ✓          | ✓       | ✓      | ✓      |\n| WinterTC conformant | ✓          | partial | ✓      | ✓      |\n\nAnt is designed for environments where size and startup time matter: serverless functions, edge computing, embedded systems, CLI tools, and anywhere you'd want JavaScript but can't afford a 50MB+ runtime.\n\nThe engine, Ant Silver is hand-built, not a wrapper around V8, JSC, or SpiderMonkey. The JIT compiler uses a fork of [MIR](https://github.com/themackabu/mir), a lightweight backend that enables near compiled performance.\n\n## Installation\n\n```bash\ncurl -fsSL https://antjs.org/install | bash\n```\n\n## Spec conformance\n\nAnt targets the [WinterTC Minimum Common API](https://min-common-api.proposal.wintertc.org/) specification, the standard for server-side JavaScript interoperability developed by Ecma TC55.\n\n| Suite        | Pass rate | Notes                                      |\n| ------------ | --------- | ------------------------------------------ |\n| compat-table | **100%**  | 1511/1511 (ES1–ES5, ES6, ES2016+, ESNext)  |\n| test262      | ~64%      | Improving; focus is on real-world coverage |\n\n## Benchmarks\n\n### Cold start\n\nMeasures the time to import [Hono](https://hono.dev), register routes, and exit. Each runtime loads the same `bench-coldstart.js` script from `examples/npm/hono/` that creates a Hono app with two routes, prints \"ready\", and calls `process.exit(0)`. No HTTP server is actually started, this isolates module resolution and initialization overhead.\n\nMeasured with hyperfine (10 warmup runs, 100 timed runs):\n\n```bash\nhyperfine --warmup 10 --runs 100 \\\n  'ant  examples/npm/hono/bench-coldstart.js' \\\n  'node examples/npm/hono/bench-coldstart.js' \\\n  'bun  examples/npm/hono/bench-coldstart.js' \\\n  'deno run --allow-read --allow-env examples/npm/hono/bench-coldstart.js'\n```\n\n| Runtime | Mean       | Min     | Max     | Relative     |\n| ------- | ---------- | ------- | ------- | ------------ |\n| **Ant** | **5.5 ms** | 4.9 ms  | 6.1 ms  | **1.00**     |\n| Bun     | 10.6 ms    | 9.5 ms  | 13.8 ms | 1.93× slower |\n| Deno    | 24.8 ms    | 22.2 ms | 29.4 ms | 4.51× slower |\n| Node    | 28.7 ms    | 27.1 ms | 31.2 ms | 5.22× slower |\n\n\u003cdetails\u003e\n\u003csummary\u003eEnvironment\u003c/summary\u003e\n\n| Detail   | Value                             |\n| -------- | --------------------------------- |\n| Hardware | Apple M5 Pro, 64 GB RAM, 18 cores |\n| OS       | macOS 26.5.1 (arm64)              |\n| Ant      | 12.1.15dd25d.1                    |\n| Node     | 26.2.0                            |\n| Bun      | 1.3.14                            |\n| Deno     | 2.8.3                             |\n\n\u003c/details\u003e\n\n## Building Ant\n\nSee [BUILDING.md](BUILDING.md) for instructions on how to build Ant from source and a list of supported platforms.\n\n## Security\n\nFor information on reporting security vulnerabilities in Ant, see [SECURITY.md](SECURITY.md).\n\n## Community\n\n- [Discord](http://discord.gg/CH7YSjWGzY)\n- [Blog: Working was the beginning](https://themackabu.dev/blog/ant-part-two)\n- [DeepWiki: Ant internals](https://deepwiki.com/theMackabu/ant)\n\n## Contributing to Ant\n\nWe welcome contributions through pull request. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details. \u003cbr\u003e\nFor information about the governance of Ant, see [GOVERNANCE.md](GOVERNANCE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheMackabu%2Fant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FtheMackabu%2Fant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheMackabu%2Fant/lists"}