3 ms·
For me, the advance in thread and memory sanitizers in XCode made it much safer to use C. Its almost fun to create memory leaks now and see the sanitizer spotti
by FraKtus 7y ago
For me, the advance in thread and memory sanitizers in XCode made it much safer to use C. Its almost fun to create memory leaks now and see the sanitizer spotting them :-)
- dingo_bat 7y agoXcode has its own C memory sanitizers? That's very surprising to me.
- saagarjha 7y agoThey're part of the LLVM project.
- comex 7y agoYeah, Xcode is ‘just’ passing -fsanitize=foo flags to Clang and putting a GUI on top of the error messages that the sanitized binaries output. Whether you’re using Xcode or not, in my experience Clang’s sanitizers are enormously helpful. They’re also available in GCC…
- FraKtus 7y agoThey are from the LLVM projects, but the integration is very well done. This is something that I miss a lot in Visual Studio, and that makes me consider it as inferior to XCode.