5 ms·
Because one day you go to look for minimal cli programs and find githubs littered with "minimal dependencies, only nodeJS!". It's madness. There's already sev
by arnautdaniel 7y ago
Because one day you go to look for minimal cli programs and find githubs littered with "minimal dependencies, only nodeJS!".
It's madness. There's already several much better tools people should be using for these domains, but they seem to insist on importing their massive and bloated toolchain in instead.
- simongray 7y agoWhy even bring that up for a Clojure project that compiles down to a single native binary? This is not Node.
- kazinator 7y agoThe materials that go into that binary which don't come from the project itself are external dependencies. There is a dependency on a Java VM implementation, GraalVM, and on a Small Clojure interpreter. That looks Node-ish to me, regardless of the application deployment model. GraalVM has some kind of updater, "gu", that's looks reminiscent of npm: https://www.graalvm.org/docs/reference-manual/install-components/ https://www.graalvm.org/docs/reference-manual/install-compon...
- simongray 7y ago> The materials that go into that binary which don't come from the project itself are external dependencies. Not sure what you're on about... any piece of software is going to be composed of smaller pieces. What's wrong with that? > There is a dependency on a Java VM implementation Only for developing it. > GraalVM GraalVM is many things. This is compiled using GraalVM Native Image which compiles JVM bytecode into a native binary executable. There is no JVM hidden away in that executable either. > and on a Small Clojure interpreter The fact that it uses a a library (by the same author) for interpreting Clojure - what exactly is the issue here? If he didn't separate that into a library it would be fine, but the moment it's modular it's an issue to you? > GraalVM has some kind of updater, "gu", that's looks reminiscent of npm: GraalVM includes a command-line utility and that means it has the NPM cooties...?
- iLemming 7y agoI don't know what planet you come from, but on my [primitive] planet people haven't yet learned how to build working software with exactly zero dependencies.