I wonder if part of the recent switch back to statically typed languages is merely a reflection of changing compute requirements. During my career, single core performance has only doubled at best. Scale out has worked… but it hasn’t been cheap.
Or perhaps because knowing/reasoning about at least some properties before running a program is a good thing? Optimisation is only one consequence of static types. Perhaps the reason is that static type systems are getting better and less intrusive.