Learn Concurrent Programming with Go

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 30 January 2024
- ISBN
- 9781638359999
- Subjects
- Algorithms & data structures, Programming & scripting languages: general, Software Engineering, Algorithms and data structures, Programming and scripting languages: general, Software Engineering
About this book
Concurrency doesnt need to be confusing. Start writing concurrent code that improves performance, scales up to handle large volumes of data, and takes full advantage of modern multi-processor hardware.Too many developers think concurrency is extremely challenging. Learn Concurrent Programming with Go is here to prove them wrong! This book uses the easy-to-grasp concurrency tools of the Go language to demonstrate principles and techniques, steadily teaching you the best practices of effective concurrency. Techniques learned in this book can be applied to other languages.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 topics Concurrent programming allows multiple tasks to execute and interact simultaneously, speeding up performance and reducing user wait time. In Learn Concurrent Programming with Go, youll discover universal principles of concurrency, along with how to use them for a performance boost in your Go applications. Expert author James Cutajar starts with the basics of modeling concurrency in your programs, demonstrates differences between message passing and memory sharing, and even introduces advanced topics such as atomic variables and futexes.About the technologyYou can improve almost any applications performance and responsiveness by introducing concurrency into the codebase. This book will show you how! It starts with the basics of concurrent programming and builds your skills step by step by exploring scenarios youll face every day as a developer. Author James Cutajar explains each aspect of concurrency in plain language using the intuitive features baked into the Go language.About the bookLearn Concurrent Programming with Go provides a practical, hands-on introduction to creating software for modern multiprocessor systems. In it, youll learn how to divide larger programming tasks into independent parts that can run simultaneously. Youll use the Go language to implement common concurrency patterns by utilizing readers-writer locks, semaphores, message passing, and memory sharing. The skills you learn will easily transfer to other languages.What's inside Prevent deadlocks and race conditions Go concurrency features like goroutines, mutexes, channels, and more Concurrency patterns including pipelining and worker pools About the readerFor programmers with basic knowledge of Go or another C-style language. No experience in concurrent programming required.About the authorJames Cutajar has been programming for more than 20 years. Hes an open source contributor, blogger, tech evangelist, Udemy instructor, and author.Table of ContentsPART 1 FOUNDATIONS1 Stepping into concurrent programming2 Dealing with threads3 Thread communication using memory sharing4 Synchronization with mutexes5 Condition variables and semaphores6 Synchronizing with waitgroups and barriersPART 2 MESSAGE PASSING7 Communication using message passing8 Selecting channels9 Programming with channelsPART 3 MORE CONCURRENCY10 Concurrency patterns11 Avoiding deadlocks12 Atomics, spin locks, and futexes
Bibliographic data © Gardners Books Ltd.