Skip to product information
1 of 1

Rust Atomics and Locks

Rust Atomics and Locks

Low-Level Concurrency in Practice

Paperback

Regular price £37.82
Regular price Sale price £37.82

Join our rewards scheme and earn reward points on this purchase!

Earn points on this!

Sign in or Sign up!
View full details
  • Release Date: 17/01/2023
  • Barcode: 9781098119447
  • Genre: Computing & The Internet
  • Sub-Genre: Computer Science
  • Imprint: O'Reilly Media
  • Publisher: O'Reilly Media
Rust Atomics and Locks

Rust Atomics and Locks

Collapsible content

DESCRIPTION

Low-Level Concurrency in Practice
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 roles of the operating system all fit together.
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. But implementing those structures correctly can be very difficult. Even in the most well-used libraries, memory ordering bugs are not uncommon.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. 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. Once you're done, you'll have a firm grasp of how Rust's memory model, the processor, and the roles of the operating system all fit together.With this guide, you'll learn:How Rust's type system works exceptionally well for programming concurrency correctlyAll about mutexes, condition variables, atomics, and memory orderingWhat happens in practice with atomic operations on Intel and ARM processorsHow locks are implemented with support from the operating systemHow to write correct code that includes concurrency, atomics, and locksHow to build your own locking and synchronization primitives correctly

ADDITIONAL DETAILS

  • Pages: 150
  • DELIVERY & RETURNS

    UK Delivery:

    • Free delivery on all orders of £10 or more.
    • £1.49 delivery fee on orders below £10.
    • UK orders are shipped via Royal Mail 2nd Class.

    International Delivery:

    • Flat rate delivery charges vary by country.

    Dispatch and Delivery Times:

    • All orders are shipped from our warehouse in Northampton, UK within 48 hours of receipt during working hours.
    • UK mainland orders typically arrive within 3-5 working days via Royal Mail 2nd Class.
    • International estimated delivery times:
    • Europe & Channel Islands: 7 to 10 working days
    • USA: 7 to 15 working days
    • Rest of the World: 9 to 21 working days

    View our full delivery infomation here.

    • OVER

      2 MILLION PRODUCTS

    • 60 MILLION CUSTOMERS

      ACROSS 190 COUNTRIES