Hacker News new | ask | show | jobs
by Kwpolska 340 days ago
If 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).

1 comments

Can Rust program link with Shared C library? If yes then I would argue they have the same problem with dependency version.
Yes 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.