flâneur — a map of the web's best reading

Fearless Concurrency - The Rust Programming Language

doc.rust-lang.org · 493 words · saved by 1 readers

Handling concurrent programming safely and efficiently is another of Rust’s major goals. Concurrent programming, in which different parts of a program execute independently, and parallel programming, in which different parts of a program execute at the same time, are becoming increasingly important as more computers take advantage of their multiple processors. Historically, programming in these contexts has been difficult and error-prone. Rust hopes to change that. Initially, the Rust team thought that ensuring memory safety and preventing concurrency problems were two separate challenges to be solved with different methods. Over time, the team discovered that the ownership and type systems are a powerful set of tools to help manage memory safety and concurrency problems! By leveraging ownership and type checking, many concurrency errors are compile-time errors in Rust rather than runtime errors. Therefore, rather than making you spend lots of time trying to reproduce the exact circums

Fearless Concurrency - The Rust Programming Language Keyboard shortcuts Press ← or → to navigate between chapters Press S or / to search in the book Press ? to show this help Press Esc to hide this help Auto Light Rust Coal Navy Ayu The Rust Programming Language Fearless Concurrency Handling concurrent programming safely and efficiently is another of Rust’s major goals. Concurrent programming , in which different parts of a program execute independently, and parallel programming , in which different parts of a program execute at the same time, are becoming increasingly important as more comput

Explore this link on the map →

saved by

related reading