News for hackers. Stuff that matters.
Re:Rust Compile Times and Code Graphs by IshKebab on Saturday October 14, 2023 @06:00PM (#37884646)
He's saying that if you explicitly separate your crates out, and then you accidentally introduce a circular dependency you will get a compile time error. But if you have one big crate and rely on the compiler to detect internal dependencies for performance, then when you accidentally introduce a dependency that you didn't mean to it will happily compile but it will be slower so you probably won't notice and it will be really hard to debug.

There are no comments on this comment yet.