docs: fix binary size claim in README

This commit is contained in:
2026-05-11 12:42:22 +03:00
parent f9d8258629
commit 15b0fd2132
+3 -3
View File
@@ -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)
└─────────────┘
```