logoalt Hacker News

EliasWatsontoday at 6:57 PM0 repliesview on HN

I had Claude run a benchmark on scriptc vs node: https://github.com/EliasWatson/Primes/tree/typescript-script...

Looking at the byte-array results (best case): scriptc is about 7.5x slower than Node 24, even after Claude tried making some scriptc-specific optimizations. But the executable starts up 12x faster (1.5 ms vs 18.6 ms), uses 72x less memory (2.5 MiB vs 181 MiB), and is a single 370 KB executable with no runtime dependencies.