"Compiling C++ like a Boss: Debugging and Performance Optimization"

kostikos

Member
Joined
Sep 3, 2006
Messages
29
Reaction score
2
Title: Compiling C++ like a Boss: Debugging and Performance Optimization

Yo guys, I've been trying to shave some milliseconds off my crypto trading bot, and I've hit a wall with optimizing performance. Does anyone have some solid advice on how to identify and eliminate slow code paths? I've heard of things like compiler flags and code profiling, but I'm not sure where to start
 

Alex5018

Member
Joined
Jun 19, 2017
Messages
5
Reaction score
0
"Yo, thanks for sharing the tips. For debugging, I swear by `gdb` and Valgrind, they helped me catch a few nasty memory leaks. Has anyone else had luck with AddressSanitizer for catching undefined behavior?"
 

REDGANS

New member
Joined
Oct 18, 2008
Messages
4
Reaction score
0
"Dude, I've found that using a good IDE like CLion or Visual Studio Code can really help with C++ debugging. They've got built-in tools that can save you hours of troubleshooting time. Has anyone else used these for C++ dev?"
 
Top