• Complain

Rainer Grimm - Concurrency with Modern C++

Here you can read online Rainer Grimm - Concurrency with Modern C++ full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2017, publisher: leanpub.com, genre: Home and family. 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:
    Concurrency with Modern C++
  • Author:
  • Publisher:
    leanpub.com
  • Genre:
  • Year:
    2017
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Concurrency with Modern C++: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Concurrency with Modern C++" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Rainer Grimm: author's other books


Who wrote Concurrency with Modern C++? Find out the surname, the name of the author of the book and a list of all author's works by series.

Concurrency with Modern C++ — 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 "Concurrency with Modern C++" 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
Concurrency with Modern C What every professional C programmer should know - photo 1
Concurrency with Modern C++
What every professional C++ programmer should know about concurrency.
Rainer Grimm

This book is for sale at http://leanpub.com/concurrencywithmodernc

This version was published on 2019-10-15

This is a Leanpub book Leanpub empowers authors and publishers with - photo 2

* * * * *

This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.

* * * * *

2017 - 2019 Rainer Grimm
Reader Testimonials

Bart Vandewoestyne

Senior Development Engineer Software at Esterline Concurrency with Modern - photo 3

Senior Development Engineer Software at Esterline

"'Concurrency with Modern C++' is your practical guide to getting familiar with concurrent programming in Modern C++. Starting with the C++ Memory Model and using many ready-to-run code examples, the book covers a good deal of what you need to improve your C++ multithreading skills. Next to the enlightening case studies that will bring you up to speed, the overview of upcoming concurrency features might even wet your appetite for more!"

Ian Reeve

Senior Storage Software Engineer for Dell Inc.

"Rainer Grimm's Concurrency with Modern C++ is a well written book covering the theory and practice for working with concurrency per the existing C++ standards, as well as addressing the potential changes for the upcoming C++ 20 standard. He provides a conversational discussion of the applications and best practices for concurrency along with example code to reinforce the details of each topic. An informative and worthwhile read!"

Robert Badea

Technical Team Leader Concurrency with Modern C is the easiest way to - photo 4

Technical Team Leader

"Concurrency with Modern C++ is the easiest way to become an expert in the multithreading environment. This book contains both simple and advanced topics, and it has everything a developer needs, in order to become an expert in this field: Lots of content, a big number of running code examples, along with great explanation, and a whole chapter for pitfalls. I enjoyed reading it, and I highly recommend it for everyone working with C++."
Introduction

Concurrency with Modern C++ is a journey through present and upcoming concurrency features in C++.

  • C++11 and C++14 have the basic building blocks for creating concurrent and parallel programs.
  • With C++17 we have the parallel algorithms from the Standard Template Library (STL). That means that most STL based algorithms can be executed sequentially, parallel, or vectorised.
  • The concurrency story in C++ goes on. With C++20/23 we can hope for extended futures, coroutines, transactions, and more.

This book explains the details of concurrency in modern C++ and gives you, also, many code examples. Therefore you can combine theory with practice to get the most out of it.

Because this book is about concurrency, I present many pitfalls and show you how to overcome them.

Conventions

Only a few conventions.

Special Fonts

Italic: I use Italic to emphasise an expression.

Bold: I use Bold to emphasise even more.

Monospace: I use Monospace for code, instructions, keywords, and names of types, variables, functions, and classes.

Special Symbols

stands for a conclusion in the mathematical sense. For example, a b means if a then b.

Special Boxes

Boxes contain special information, tips, and warnings.

Information headline

Information text.

Tip headline

Tip description.

Warning headline

Warning description.

Source Code

All source code examples are complete. That means, assuming you have a conforming compiler, you can compile and run them. The name of the source file is in the title of the listing.I use the using namespace std directive in the source files only if necessary.

Run the Programs

Compiling and running the examples is quite easy for the C++11 and C++14 examples in this book. Every modern C++ compiler should support them. For both the GCC and the clang compiler, the C++ standard must be specified as well as the threading library to link against. For example the g++ compiler from GCC creates an executable program called thread with the following command-line: g++ -std=c++14 -pthread thread.cpp -o thread.

  • -std=c++14: use the language standard C++14
  • -pthread: add support for multithreading with the pthread library
  • thread.cpp: source file
  • -o thread: executable program

The same command-line works for the clang++ compiler. The Microsoft Visual Studio 17 C++ compiler supports C++14 as well.

If you have no modern C++ compiler at your disposal, there are a lot of online compilers available. Arne Mertz blog post C++ Online Compiler gives an excellent overview.

With C++17 and C++20/23, the story becomes quite complicated. I installed the and read how you can see the code examples in action.

How you should read the book?

If you are not very familiar with concurrency in C++, start at the very beginning with to get the big picture.

Once you get the big picture, you can proceed with the should help you apply the theory, something that is sometimes quite challenging as it requires a basic understanding of the memory model.

The chapter is optional. I am very curious about the future. I hope you are too!

The last part, provides you additional guidance towards a better understanding of my book and getting the most out of it.

Personal Notes
Acknowledgements

To write this book in English, I started a request in my English blog: www.ModernesCpp.com and received a much higher response than I expected. About 50 people wanted to proofread my book. Special thanks to all of you, including my daughter Juliette, who improved my layout and my son Marius, who was the first proofreader.

Here are the names in alphabetic order: Nikos Athanasiou, Robert Badea, Joe Das, Jonas Devlieghere, Randy Hormann, Lasse Natvig, Erik Newton, Ian Reeve, Bart Vandewoestyne, Dafydd Walters, Andrzej Warzynski, and Enrico Zschemisch.

About Me

Ive worked as a software architect, team lead and instructor for about 20 years. In my spare time, I enjoy writing articles on topics such as C++, Python and Haskell, and also enjoy speaking at conferences. In 2016 I decided to work for myself. I organise and lead seminars about modern C++ and Python.

My Special Circumstances

I began Concurrency With Modern C++ in Oberstdorf while getting a new hip joint. Formally, it was a total endoprosthesis of my left hip joint. I wrote the first half of this book during my stay in the clinic and the rehabilitation clinic. To be honest, writing a book helped me a lot during this challenging period.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Concurrency with Modern C++»

Look at similar books to Concurrency with Modern C++. 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 «Concurrency with Modern C++»

Discussion, reviews of the book Concurrency with Modern C++ 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.