As always things that save lives need to be deterministic and should not fail along with a good battery life. So Nest uses C for dealing with sensors, Linux for the head unit and UI is in C++.
Look at reddit.com/r/IAmA/comments/10tpxx/i_am_matt_roger… for more details.