News for hackers. Stuff that matters.
Re:Deno 1.6 supports compiling TypeScript to a single execut... by Siilwyn on Wednesday December 09, 2020 @06:30PM (#25367031)
Definitely, I do wonder how it compares in binary size. Especially the 'baseline' size of a hello world.
Re:Deno 1.6 supports compiling TypeScript to a single execut... by bartlomieju on Wednesday December 09, 2020 @06:48PM (#25367263)
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.
Re:Deno 1.6 supports compiling TypeScript to a single execut... by lucacasonato on Wednesday December 09, 2020 @06:44PM (#25367208)
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.

Re:Deno 1.6 supports compiling TypeScript to a single execut... by mrkurt on Wednesday December 09, 2020 @06:35PM (#25367096)
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.

Re:Deno 1.6 supports compiling TypeScript to a single execut... by andyfleming on Wednesday December 09, 2020 @06:33PM (#25367064)
The files are big now. ~30 MB.

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

Re:Deno 1.6 supports compiling TypeScript to a single execut... by javajosh on Wednesday December 09, 2020 @06:33PM (#25367074)
The link shows its 48MB for a trivial program (I assume its trivial - its called "cat")