Why did Elon Musk say that Rust is the language of AGI?
<p>Today’s LLM applications, including inference apps and agents, are mostly written in Python. But this is about to change. Python is simply too slow, too bloated, and paradoxically too unwieldy for the new wave of developers. In fact, <a href="https://en.wikipedia.org/wiki/Chris_Lattner" rel="noopener ugc nofollow" target="_blank">Chris Lattner</a>, the inventor of LLVM, Clang, and Swift, had demonstrated that Python can be 35,000x slower than compiled languages — and that’s why he invented the <a href="https://www.fast.ai/posts/2023-05-03-mojo-launch.html" rel="noopener ugc nofollow" target="_blank">Mojo language</a> as a Python alternative.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:770/1*jUpbkfQ2Ln1sRl5Ei9VGHg.png" style="height:449px; width:700px" /></p>
<p>According to Chris Lattner, a compiled language could be 35,000x faster than Python.</p>
<p>That forces developers to push more and more application logic to natively compiled code, such as C, C++, and Rust. For example, highly popular projects like <a href="https://github.com/ggerganov/llama.cpp" rel="noopener ugc nofollow" target="_blank">llama.cpp</a>, <a href="https://github.com/ggerganov/whisper.cpp" rel="noopener ugc nofollow" target="_blank">whisper.cpp</a> and <a href="https://github.com/karpathy/llama2.c" rel="noopener ugc nofollow" target="_blank">llama2.c</a>, are all written with <strong>zero Python dependency</strong>.</p>
<p><a href="https://blog.stackademic.com/why-did-elon-musk-say-that-rust-is-the-language-of-agi-eb36303ce341">Visit Now</a></p>