News for hackers. Stuff that matters.
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)