|
|
|
|
|
by HerrmannM
2353 days ago
|
|
Thanks for sharing! I'll be sure to check that book. Even if CMake is basically a defacto standard, I have a CMake trauma... Do you have experience with things like Scons/Ninja? For the sanitizers, I had a look at the one from google: https://github.com/google/sanitizers
Did you work with any of those, or was it something else? I definitely have my eyes on CLion, I'll have to convince my University to get a licence as they are already bulk paying for MS Visual Studio (but that one does not work on linux...) |
|
I used SCons a long time ago. It worked but it was extremely slow. Ninja is not designed to be written by hand, it's a back-end to be used by CMake, etc.
Yes, sanitizers are now included in GCC and Clang (it's the same code base, initially developed by Google). Support varies by platform but on Linux/amd64 all of them are available. UBSan, LSan are easy to use and have little impact on performance. ASan and TSan are more expensive but they work well; not unlike Valgrind but still faster. MSan is a pain to configure because all the code must be instrumented (that includes dynamic libraries you use). Not that easy in practice.