A

Admin • 802.91K Points
Coach

Q. How does Rust ensure thread safety?

  • (A) Using garbage collection
  • (B) Using mutexes only
  • (C) Through ownership and borrowing rules
  • (D) Manual memory management
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
Rust enforces thread safety at compile time using ownership and borrowing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.