LibCoder

Rust Atomics and Locks: Low-Level Concurrency in Practice

1C Agda Rust
Rust Atomics and Locks: Low-Level Concurrency in Practice
Автор: Bos Mara
Дата выхода: 2023
Издательство: O’Reilly Media, Inc.
Количество страниц: 252
Размер файла: 1,1 МБ
Тип файла: PDF
Добавил: LibCoder
Оглавление
Chapter....8Chapter....9Chapter....10

Описание

Коротко и по делу о том, что важно знать про rust.

But implementing those structures correctly can be very difficult. The Rust programming language is extremely well suited for concurrency, and its ecosystem has many libraries that include lots of concurrent data structures, locks, and more. Even in the most well-used libraries, memory ordering bugs are not uncommon.

You'll learn everything about atomics and memory ordering and how they're combined with basic operating system APIs to build common primitives like mutexes and condition variables. In this practical book, Mara Bos, leader of the Rust library team, helps Rust programmers of all levels gain a clear understanding of low-level concurrency. Once you're done, you'll have a firm grasp of how Rust's memory model, the processor, and the role of the operating system all fit together.

With this guide, you'll learn:How Rust's type system works exceptionally well for programming concurrency correctly

All about mutexes, condition variables, atomics, and memory ordering

What happens in practice with atomic operations on Intel and ARM processors

How locks are implemented with support from the operating system

How to write correct code that includes concurrency, atomics, and locks

How to build your own locking and synchronization primitives correctly

Если материал оказался полезен — сохраните страницу.

rust concurrency atomics memory locks well operating system

Частые вопросы

Можно ли скачать «Rust Atomics and Locks: Low-Level Concurrency in Practice» бесплатно?

Да, «Rust Atomics and Locks: Low-Level Concurrency in Practice» доступна для бесплатного скачивания на нашем сайте в формате PDF. Ссылка на файл находится на этой странице.

В каком формате и какого размера файл?

Книга предоставляется в формате PDF, размер файла 1,1 МБ.

Кто автор и когда вышла книга?

автор — Bos Mara, издательство O’Reilly Media, Inc., год выпуска 2023, 252 страниц.

О чём книга «Rust Atomics and Locks: Low-Level Concurrency in Practice»?

The Rust programming language is extremely well suited for concurrency, and its ecosystem has many libraries that include lots of concurrent data structures, locks, and more.

Похожие материалы