News for hackers. Stuff that matters.
Re:Go's Tooling Is an Undervalued Technology by vvanders on Tuesday January 21, 2020 @11:19PM (#22114592)
Really depends on your compile->deploy->launch iteration time.

Printf'ing your way to victory works but I'm easily 5x faster with a debugger.

Re:Go's Tooling Is an Undervalued Technology by jcelerier on Wednesday January 22, 2020 @02:14AM (#22115337)
To give an opposite metric, on one of the C++ software I develop the "add printf, compile, and run" takes in average 1/2s while it take sometimes up to a minute to load it in gdb or lldb. Which sucks because a lot of things are incredibly easier with a debugger.
Re:Go's Tooling Is an Undervalued Technology by pjc50 on Wednesday January 22, 2020 @11:10AM (#22118741)
That's very unusual, is it an embedded environment? I'm used to C++ taking much longer than other languages to compile, which in turn discourages printf debugging.
Re:Go's Tooling Is an Undervalued Technology by jcelerier on Wednesday January 22, 2020 @12:47PM (#22119968)
not at all, standard Qt desktop software - when split correctly into object files and shared libraries the incremental build time in C++ can be very fast (also, being on linux and using lld as a linker helps tremendously, building on windows is on average 3-5 times slower for me, and lld links in the bat of an eye compared to bfd (GNU ld) and gold)
Re:Go's Tooling Is an Undervalued Technology by toolslive on Wednesday January 22, 2020 @01:47AM (#22115205)
You're right. But you need to have been exposed to a good debugger before you understand this. Preferably you also have had a colleague that was proficient in it to get you started.