Java, surprisingly, is not that much slower than Rust - but given these bugs, Java blows Rust away in memory safety. So I'd say it is the language you are looking for. Presumably any other JVM language also passes the test and maybe also CLR languages.