Best programming language for autopilot, flight controller.

Hello everyone,

We are building a autopilot, software and firmware for flight controller, what will be best programming language for this, also which platform will be good?

Best Regards

Ankit