News for hackers. Stuff that matters.
Re:Still in love with Rust by pjmlp on Thursday November 22, 2018 @05:01AM (#18509040)
I didn't downvote you.

Cargo surely recompiles common dependencies across crates, unless one uses the workspace trick and even then recompiles do happen.

Just get Gtk-rs, get nightly and then trace the build log. I once even mailed Rust devs about it.

Incremental compilation still isn't up to incremental compilation + incremental linking, which is why I explicitly mentioned both on my comment.

Re:Still in love with Rust by steveklabnik on Thursday November 22, 2018 @05:05AM (#18509051)
To clarify two things you've said:

1. Hacker News won't let you downvote someone who replies to you, so it is literally impossible for you to have downvoted in this situation.

2. Both of you are correct, because you're talking about different things. Evgeniy means "You only need to compile your dependencies upon the first build", and you mean "if I use the same dependency in two projects, it will be compiled twice, once on the initial compile of both."

Re:Still in love with Rust by pjmlp on Thursday November 22, 2018 @05:33AM (#18509160)
Thanks for the clarification.
Re:Still in love with Rust by steveklabnik on Thursday November 22, 2018 @05:35AM (#18509166)
No problem. Others haven't had this conversation as many times as you and I have :)
Re:Still in love with Rust by pjmlp on Thursday November 22, 2018 @06:32AM (#18509359)
Yep, I still look forward to eventually advocate the contrary.

Even when I sometimes sound negative, I really appreciate your work.

Rust achievements thus far already influenced design decisions in other languages.