From 15b0fd213297d4b66f41ae7cda94206a797f7749 Mon Sep 17 00:00:00 2001 From: dimgigov Date: Mon, 11 May 2026 12:42:22 +0300 Subject: [PATCH] docs: fix binary size claim in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cbf9b08..01152c9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ | Google Closure Compiler | ❌ No | ✅ Required | ❌ No | ✅ **No** | | Java stdlib dependency | ✅ Full | ✅ Heavy | ✅ Medium | ✅ **None** | | Startup time | ❌ Slow | ⚡ Fast | ⚡ Fast | ⚡ **Instant** | -| Binary size | ❌ 50MB+ | ❌ ~MB | ❌ ~MB | ✅ **< 1MB** | +| Binary size | ❌ 50MB+ | ❌ ~MB | ❌ ~MB | ✅ **~3MB** | | Native speed | ❌ JIT | ❌ VM | ✅ AOT | ✅ **C-speed** | | FFI | ❌ JNI/C | ❌ JS | ❌ Limited | ✅ **Nim/C native** | @@ -86,7 +86,7 @@ The same Clojure code compiles to: | **JavaScript** | ✅ Ready | Frontend, Node.js without 50MB JVM | ### 4. AOT Compiler — Not an Interpreter -Full ahead-of-time compilation with C-speed execution and binary sizes under 1MB. The REPL uses a hybrid model: tree-walking interpreter for fast feedback (<1ms eval), AOT compilation for production builds. +Full ahead-of-time compilation with C-speed execution and binary sizes ~3MB (debug), <1MB when stripped. The REPL uses a hybrid model: tree-walking interpreter for fast feedback (<1ms eval), AOT compilation for production builds. ### 5. Nim/C Interop Instead of Java Interop Direct FFI to the Nim and C ecosystem: @@ -209,7 +209,7 @@ make build ▼ ┌─────────────┐ │ Native binary│ - │ (< 1MB) │ + │ (~3MB) │ └─────────────┘ ```