Why not do what I did and build a system with a Ryzen 9 3950X?
Or if that's not enough, you have the option of going with Threadripper...
(yes, it's almost $2,000 for 32C/64T, but if you routinely need to do this sort of work, it doesn't get much better than this)
After all, Linus Torvalds uses a Ryzen Threadripper 3970X.
Of course, actual professional developers will often be working with server-class systems, typically dual-socket Xeon machines.
Though Threadripper and EPYC are becoming increasingly attractive options.