News for hackers. Stuff that matters.
Re:Comparing Pythagorean triples in C++, D, and Rust by staticassertion on Monday December 31, 2018 @12:32PM (#18795666)
Can't speak to others, but it's funny to think of "printf debugging" as a last resort when it's easily my go-to. I'll often add some println's and re-run tests to trace through what happened.

I only step into a debugger when I'm really wtf'd, and I don't think that's happened to me even once with Rust (it used to happen a lot with C++, since printf debugging mixes so poorly with segfaults etc). No question that long compile times are a pain though. I generally use 'cargo check' 99.99% of the time.

Thankfully there's work going into making debug builds faster by, if I recall, replacing the llvm backend with some other thing I don't recall the name of.

Re:Comparing Pythagorean triples in C++, D, and Rust by Avi-D-coder on Tuesday January 08, 2019 @06:24AM (#18854799)
The code generator that may complement/replace llvm for this use case is Cranelift.

https://github.com/CraneStation/cranelift