Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>dep hell

As a C programmer, i'm always a little panic how a small Rust Program can pull in that many crates when compiling.



Once you understand that a crate is the translation unit in Rust, it doesn't feel as bad. Most medium to large Rust project's will separate out their code into separate crates for both organization and compile time.

I've definitely cloned down my fair share of C projects, mashed the make command into my terminal, and watched the gcc/clang logs fly by and never batted an eye beyond checking the sha256sum on any downloaded tarballs.

There's a valid argument to be made about supply chain attacks, but there does exist tooling to lock that down, and I would argue that any serious software development firm should be auditing every third party dependency they take on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: