3 ms·
Go statically compiles everything into a single binary. I'm not sure what is meant by "dependency hell", but this at least simplifies the runtime story.
by weberc2 11y ago
Go statically compiles everything into a single binary. I'm not sure what is meant by "dependency hell", but this at least simplifies the runtime story.
- collyw 11y agoFair enough. He would have done well to explain that. Java does the same. Is it considered tomorrows language? At the end of the day its another trade off between compiled and interpreted languages, and one thats been around for years.
- weberc2 11y agoJava doesn't do this. There are tools that let you bundle all of your jar files, but even then, you typically have the JVM as a runtime dependency.
- pdkl95 11y ago> simplifies the runtime That has been a solved problem in ruby for a long time. Bundler[1] (or similar tools) does the equivalent of static compilation by copying[2] all of the dependencies into the project and statically loading[3] them. [1] http://bundler.io/rationale.html http://bundler.io/rationale.html [2] http://bundler.io/v1.12/bundle_package.html http://bundler.io/v1.12/bundle_package.html [3] http://bundler.io/v1.12/man/bundle-exec.1.html#ENVIRONMENT-MODIFICATIONS http://bundler.io/v1.12/man/bundle-exec.1.html#ENVIRONMENT-M...
- weberc2 11y agoI'm sure it helps, but you still have a runtime dependency on Ruby as well as something to unbundle the bundle. Maybe this isn't a big deal, but it's not as easy as a single static binary.
- deleted 11y ago[deleted]