3 ms·
For context (and I say that as a Rust developer), please note that Rust has the same strength/weakness as Node in terms of dependencies. There is ongoing work
by Yoric 4y ago
For context (and I say that as a Rust developer), please note that Rust has the same strength/weakness as Node in terms of dependencies.
There is ongoing work to strengthen this. I do not know the status.
- drcongo 4y agoThanks. Would I be correct in assuming that there should be less of a burden on me as an end user with Rust though as I only need to update the one binary that I installed?
- Yoric 4y agoHow did you install the binary? If you installed it from source, you'll need to `cargo update && cargo build`. If you downloaded a binary or installed it from your distro's repo, generally you just need to update that one binary, yes.
- drcongo 4y agoThanks for clarifying. Yes, I'd typically install a Rust program from the distro's repos.
- bogeholm 4y agoUsually you would only need to update a single binary, as the dependencies are compiled in. You may get some libc-issues if you try to run a binary built for a newer Linux on an older Linux, unless it is built to target musl - don’t remember the details 100%
- mcronce 4y agoYes and no - deploying a Node project, I need to install all its dependencies. Deploying a Rust project, I still typically only need to pull down the binary. The general attitude is still to pull in dependencies to do a job instead of inventing your own solution, which I consider a good thing, but not everybody agrees.