Ask questionsdeno size

the Node executable is pretty sizable, currently at 21.3 MB

however i noticed that the current Deno is 38.4 MB, nearly double the size

what is the reason for this discrepancy?


Answer questions ry

We track binary size and want to keep it as small as possible - but Deno includes the typescript compiler which is going to inflate the binary size. It will probably never be smaller than Node.

If you want a very minimal environment check out the Deno crate: An example program clocks in at 16 megabytes:

> ls -lh target/release/deno_core_http_bench
-rwxr-xr-x  1 rld  staff    16M Apr 13 15:46 target/release/deno_core_http_bench