Ardupilot team has stopped firmware development for APM1/APM2 boards in 2015. I wouldn't advise buying it now with intent to work on stabilization firmware.
But the development mostly seems to concentrate around higher level, position and navigation controllers and there is a lot of complex floating point math going on there.