Skip to content

TRPL erroneously states that concurrency is all library #26344

Closed
@Gankra

Description

@Gankra

Before we talk about the concurrency features that come with Rust, it's important to understand something: Rust is low-level enough that all of this is provided by the standard library, not by the language. This means that if you don't like some aspect of the way Rust handles concurrency, you can implement an alternative way of doing things.

Atomics are a language feature that the compiler (LLVM) has to have a deep understanding of in its optimization passes.

Send and Sync are also opt-in-built-in-traits, which makes them a pseudo-language construct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions