The recommendation from the security agencies is to prefer Rust over C++ as less risk of exploits.
Checked and Lama.cpp used C++ (obviously) and Llama uses Go.
I wonder why they didn’t use Fortran.
Why use C++ for greenfield projects?
...or D? or Go? or Java? C#? Zig? etc they chose what they were most comfortable with. Rust is fine, it's not for everyone clearly, but those who use it produce high quality software, I would argue similar with Go, without all the unnecessary mental overhead of C or C++