Maybe you should try to get out of your webapp bubble. Most database servers are written in C++. What do you think Kafka, Cassandra, Elasticsearch and Solr written in? What makes you think those languages are dead?
I'd add that the overwhelming majority of ML stuff (including "classic"), run in C++ (+cuda), or C or Fortran.