• Complain

Brian L. Troutwine - Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust

Here you can read online Brian L. Troutwine - Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2018
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Brian L. Troutwine: author's other books


Who wrote Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust? Find out the surname, the name of the author of the book and a list of all author's works by series.

Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Hands-On Concurrency with Rust Confidently build memory-safe parallel and - photo 1
Hands-On Concurrency
with Rust
Confidently build memory-safe, parallel, and efficient software in Rust
Brian L. Troutwine

BIRMINGHAM - MUMBAI Hands-On Concurrency with Rust Copyright 2018 Packt - photo 2

BIRMINGHAM - MUMBAI
Hands-On Concurrency with Rust

Copyright 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Aaron Lazar
Acquisition Editor: Chaitanya Nair
Content Development Editor: Akshada Iyer
Technical Editor: Mehul Singh
Copy Editor: Safis Editing
Project Coordinator: Prajakta Naik
Proofreader: Safis Editing
Indexer: Mariammal Chettiyar
Graphics: Jisha Chirayil
Production Coordinator: Aparna Bhagat

First published: May 2018

Production reference: 1290518

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78839-997-5

www.packtpub.com


For my parents, who taught me how to be.
For Hope, with whom life is more joyful than I ever imagined.
For Oliver, who was there at the start. He saw what there was to see.
maptio Mapt is an online digital library that gives you full access to over - photo 3
mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?
  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
  • Improve your learning with Skill Plans built especially for you
  • Get a free eBook or video every month
  • Mapt is fully searchable
  • Copy and paste, print, and bookmark content
PacktPub.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.

At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors
About the author

Brian L. Troutwine is a software engineer with an interest in low-latency and high-scale software. He has worked at Rackspace Hosting, AdRoll, and Postmates. As his first book publishes, he will be starting at Unity Technologies.

He has delivered the following talks:

  • The Charming Genius of the Apollo Guidance Computer
  • Getting Uphill on a Candle: Crushed Spines, Detached Retinas, and One Small Step
  • 10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
  • Fetching Moths from the Works: Correctness Methods in Software
  • Build Good Software: Of Politics and Method
I'd like to thank Tom Santero for reading early drafts of this book. I'd like also to thank Miriam Pena, Sonny Scroggin, Irina Guberman, and Brian Mitchell for talking through what the book was and helping me find, thereby, what it could be. Special thanks to Chris Markiewicz for being an excellent roommate in high school.
What this book covers

The material that this book covers is very broad, and it attempts to go into that material at some depth. The material is written so that you can work straight through, but it's also expected that some readers will only be interested in a subset of the content.

, Preliminaries Machine Architecture and Getting Started with Rust, discusses modern CPU architectures, focusing specifically on x86 and ARM. These two architectures will be the focus of the book. The reader is assumed to be familiar with Rust, but we will also discuss verifying that your installation works as expected.

, Sequential Rust Performance and Testing, introduces inspecting the performance of a Rust program. The details of the underlying computer hardware are especially important in this: cache interactions, memory layout, and exploiting the nature of the problem domain are key to writing fast programs. However, fast doesn't matter if the results are inaccurate. This chapter also focuses on testing in Rust.

, The Rust Memory Model Ownership, References and Manipulation, discusses the memory model of Rust, focusing specifically on what makes Rust memory safe, how the language is constrained to achieve such safety and how these constraints influence the fundamental types' implementations. The reader will understand the borrow checker and its ways at the close of this chapter.

, Sync and Send the Foundation of Rust Concurrency, is the first in which notions of concurrency make their appearance. The chapter discusses the Sync and Send traits, both why they exist and their implications. The chapter closes with a concrete demonstration of a multithreaded Rust program. Not the last, either.

, Locks Mutex, Condvar, Barriers and RWLock, introduces the coarse synchronization methods available to the Rust programmer. Each is examined in turn and demonstrated in context of an industrial Rust project, hopper. The coarse synchronization methods are elaborated on in more detail in a series of smaller projects and data structures.

, Locks Mutex, Condvar, Barriers and RWLock.

, Atomics Safely Reclaiming Memory, discusses at length one of the key difficulties of atomic programming in any languagesafely deallocating memory. The main three methodsreference counting, hazard pointers, epoch-based reclamationare each discussed in great detail, and production-worthy codebases are investigated. Crossbeam, especially, is discussed in great detail.

, High-Level Parallelism Threadpools, Parallel Iterators andProcesses, motivates and explains the implementation of thread pooling. Having this knowledge in hand, the Rayon project is investigated and subsequently used in a complex project that benefits greatly from simple data parallelism.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust»

Look at similar books to Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust»

Discussion, reviews of the book Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.