With compiler development work, a low end machine will do just fine, as long as it has a LARGE monitor. (Mine is 3840x2160, and I bought a satellite monitor to extend it.)
P.S. you can buy a satellite monitor often for $10 from the thrift store. The one I bought was $10.
I don't buy used keyboards because they are dirty and impossible to clean.