6 ms·
You can tell it is written by C programmer because they think installing dependencies is hard.
by Tractor8626 1y ago
You can tell it is written by C programmer because they think installing dependencies is hard.
- mrheosuper 1y agoif it's not hard why do we have docker ?
- Kwpolska 1y agoIf dependency == library, it is hard in C or Python, but it isn’t in Rust or Java. You could easily run a Rust program on bare Linux, but using Docker might simplify the version management story. But even if you use a language with a sane dependency management story, you probably depend on PostgreSQL, and running it in Docker can be easier than installing it on the system (since distros really like to mess with the PostgreSQL configuration).
- mrheosuper 1y agoCan Rust program link with Shared C library? If yes then I would argue they have the same problem with dependency version.
- exDM69 1y agoYes it can and yes indeed it's sometimes a pain in the ass. However, some (maybe even most) C libraries' Rust bindings deal with this automatically when installed via Cargo.
- Cthulhu_ 1y agoBecause while it's not hard, it's boring. Setting up an environment is boring and repetitive work, and Docker reduces that.
- JonChesterfield 1y agoC programmers don't install dependencies. That would be insane. Better to "vendor" them into the same tree as everything else and build them at the same time.