Languages like Ada and Modula-2, just to cite two examples from many, allow for safer coding while having similar performance.
The people that cite the performance impact of bound checking and other features, usually tend to ignore that they can be disabled if required for performance reasons, because it suits their arguments that no other language can achieve C like performance.
Or they like to forget that the industry has invested more in optimizing compilers for C than for other languages. So they end up discussing languages without regard for the implementations.
While I believe you could write an operating system in Haskell, for instance, I don't know nothing about it's performance. However, microkernels, even though are safer, have some performance drawbacks.
However, there are pratical considerations (e.g performance impact and stuff like that) which make such approaches unattractive for production use.