O'Reilly logo

Rust Essentials by Ivo Balbaert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Concurrency and Parallelism

As a modern systems-level programming language, Rust has to have a good story for executing code concurrently and parallely on many processors simultaneously. And indeed, it does; Rust provides a wide selection of concurrency and parallel tools. Its type system is strong enough to write concurrent primitives that have properties unlike anything that existed before. Particularly, it can encode a wide selection of memory safe parallel abstractions that are also guaranteed to be data-race free while not employing a garbage collector. This is mind blowing as no other language can do this. All these features are not ingrained in the language itself, but they are provided by libraries, so improved or new versions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required