Hacker News new | ask | show | jobs
by williamoforange 555 days ago
Looks cool, but in what world is any of that 'single-file'? Like yes your examples are built out of single files, several of them in fact. And the sever certainly isn't a single file...
4 comments

People do refer to these standalone apps as “single-file” [1] but I find “single executable” [2] to be less ambiguous.

[1]: https://learn.microsoft.com/en-us/dotnet/core/deploying/sing...

[2]: https://nodejs.org/api/single-executable-applications.html

That's "single-file deployment." I've never heard anyone shorten single-file deployment as just "single-file," until now.
Java .wars, but native and talking HTTP.
I guess "statically linked" just doesn't have the same ring to it. (And even with that, it still suggests using docker...)
You folks are spot on. Single file in this case means single binary that is statically liked, i.e. w/o dependencies on shared library allowing you to just copy it from machine to machine similar to e.g. k3s.

Whether to use docker or not is really up to you. It's just a way to deploy other assets, e.g. a static html bundle. More importantly it saves me the trouble of providing windows builds at this current time :)

Pretty sure they mean the server itself is statically linked. It still depends on external files for any configuration / the applications themselves.
You download a single executable file and execute it and it runs everything needed.