You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zk/tests/fixtures/full-sample/g7qa.md

559 B

Concurrency in Rust

  • Thanks to the Ownership pattern, Rust has a model of Fearless concurrency.

  • Rust aims to have a small runtime, so it doesn't support green threads.

    • Crates exist to add support for green threads if needed.
    • Instead, Rust relies on the OS threads, a model called 1-1.
  • Rust offers a number of constructs for sharing data between threads:

:rust:programming: