Some parts are in C++ and they even made it open source recently:
https://github.com/carbonengine
https://fenris.com/carbon