Learn Concurrent Programming with Go (MEAP v2)

Автор: literator от 28-01-2023, 07:34, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Learn Concurrent Programming with Go (MEAP v2)Название: Learn Concurrent Programming with Go (MEAP v2)
Автор: James Cutajar
Издательство: Manning Publications
Год: 2023
Страниц: 156
Язык: английский
Формат: pdf, epub
Размер: 10.2 MB

Write concurrent code in Go that improves application performance, scales up to handle bigger loads, and takes full advantage of modern multi-processor hardware.

In Learn Concurrent Programming with Go you will learn how to:

Implement effective concurrency for more responsive, higher performing, scalable software
Avoid common concurrency problems such as deadlocks and race conditions
Manage concurrency using goroutines, mutexes, readers-writer locks, and more
Identify concurrency patterns such as pipelining, worker pools, and message passing
Discover advantages, limits and properties of parallel computing
Improve your Go coding skills with advanced multithreading

Learn Concurrent Programming with Go teaches you how to use concurrency to improve the performance of your Go applications. Each chapter poses a new problem that can be solved using concurrency and introduces the right approach to implement it in Go. In this easy-to-read tutorial, you’ll delve into concurrency patterns, learn to dodge the most common pitfalls, and take advantage of Go’s innovative approach to concurrency. Practical exercises at the end of each chapter help you practice your new skills to lock in what you’ve learned.

about the technology
Concurrent programming is essential for getting the most out of modern multi-processor computer hardware. It allows multiple tasks to execute and interact simultaneously, speeding up performance and reducing user wait time. Thanks to its baked-in concurrency models, Google’s Go is one of the best languages you can use to learn and apply concurrent programming to your systems.

about the book
Learn Concurrent Programming with Go teaches you how to boost the performance of your systems through the power of concurrent programming. It demystifies concurrency, explaining complex topics using simple language, easy-to-follow visuals, and relevant examples you’ll face every day as a developer. You’ll get an under-the-hood understanding of concurrency by building common concurrency tools like readers/writer locks, semaphores, and thread pools. By the time you’re done reading, you’ll be effortlessly coding concurrent applications in Go. You’ll also have a great foundation to apply your new concurrency skills in almost any other language.

This book is written for developers who already have some coding experience. Ideally, your experience is in Go or a similar C-like language. Although we use Go to explain many concepts, this book is about concurrency. Most of the concepts learned will be applicable in many other languages that support concurrent programming. Go is an ideal language to learn this topic since it gives us a complete set of tooling and various abstractions to model concurrency.

By the end of the book, you will be able to:
- Use concurrency to create more responsive, higher performance and scalable software.
- Recognize and avoid common concurrency programming problems such as deadlocks and race conditions.
- Employ common currency patterns in your code.
- Improve your programming skills with more advanced, multithreading topics.

This book is divided into three parts. In part 1 we lay the foundations of concurrent programming. In these chapters we introduce concurrency and explain the role of operating systems when it comes to modelling concurrent executions. Later we explore the classic way to model concurrency, by using shared memory and concurrent primitives. In Part 2 we will show how to model concurrency using message passing and follow Go’s mantra of sharing memory by communicating. These chapters will discuss different programming patterns that allow us to specify units of isolated executions communicating via messages. The final part will examine further topics such as common concurrency patterns and more advanced subjects such as atomic variables and spinning locks.

Скачать Learn Concurrent Programming with Go (MEAP v02)








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.