News for hackers. Stuff that matters.
Re:Speeding up the Rust edit-build-run cycle by nuudlman on Thursday November 14, 2024 @05:41PM (#42141975)
It's a lot faster to add a log point in a debugger than to add a print statement and recompile. Especially with cargo check, I really don't see the point of non-debuggable builds (outside of embedded, but the size of debuginfo already makes that a non-starter).
Re:Speeding up the Rust edit-build-run cycle by 0x457 on Friday November 15, 2024 @12:25PM (#42148910)
Yes, but we're talking about time spent with "add a print statement and recompile" vs time saved by not including debuginfo on every other build. You have to do that comparison yourself.