News for hackers. Stuff that matters.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by klyrs on Wednesday November 17, 2021 @03:03PM (#29258180)
FWIW, I almost always use valgrind before a debugger, when tracking down segfaults. It doesn't catch everything, but 90% of the time, it gets me to the right region of code in a single run.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Wednesday November 17, 2021 @03:35PM (#29258504)
sure I use valgrind and gdb too - still hard to argue that a segfault is pleasant to debug though?
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by klyrs on Wednesday November 17, 2021 @04:10PM (#29258887)
Good good, just wanted to advocate for my favorite tool there. But, in my experience, segfaults are usually the easiest bugs to resolve. Unlike a sign error in my math, they're impossible to miss!

That said, tooling to get rid of them entirely is not to be sneezed at :)