Hacker News new | ask | show | jobs
by Siilwyn 2021 days ago
Definitely, I do wonder how it compares in binary size. Especially the 'baseline' size of a hello world.
5 comments

Currently it's 30-45Mb depending on the OS. We're working on providing a "lite" version of the runtime, that doesn't include tools like formatter or linter. Preliminary works show that we should be able to trim executables down to about 20Mb.
Currently binary size is a bit larger than the `deno` cli.

We are currently working on reducing size for these `deno compile` binaries though. From preliminary testing we think we can reduce size by around 60% - maybe even more.

Seems like it's big, our Go CLI clocks in about 30MB on Linux. Deno with hello world is like 32MB.

But I honestly don't mind up until about 100MB.

The files are big now. ~30 MB.

Size was not really a goal for the first pass of the feature.

The link shows its 48MB for a trivial program (I assume its trivial - its called "cat")