← Back to context

Comment by john01dav

1 day ago

Rust has more features than just the borrow checker. For example, it has a a more featured type system than C or C++, which a good developer can use to detect some logic mistakes at compile time. This doesn't eliminate bugs, but it can catch some very early.

[dead]

  • > But unsafe Rust, which is generally more often used in low-level code, is more difficult than C and C++.

    I think "is" is a bit too strong. "Can be", sure, but I'm rather skeptical that all uses of unsafe Rust will be more difficult than writing equivalent C/C++ code.