|
|
|
|
|
by rustfreeforme
23 hours ago
|
|
In fact Rust completely depends on LLVM, which is written in C++, along with the entire ecosystem of system libraries and components that are C/C++. It's quite silly what some of these Rust beliebers actually believe about the "total unsuitability" of C/C++, which their entire world depends on. In before "but muh UNSAFE MEMRY ACCESS!!1" etc. The vast majority of bugs in software are logic errors, and reinventing the wheel with Rust does absolutely nothing to solve that. |
|
Sure, the main Rust compiler currently depends on LLVM, which is currently written in C++. But the rustc team might choose to follow a similar path to Zig and replace LLVM, or LLVM might get rewritten in Rust.
Finally, while most bugs are logical, the most damaging ones, security bugs, are primarily related to undefined behavior.