O'Reilly logo

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

Ultimate Go Programming, Second Edition

Video Description

16+ Hours of Video Instruction

Ultimate Go Programming LiveLessons, Second Edition, provides an intensive, comprehensive, and idiomatic view of the Go programming language. This course focuses on both the specification and implementation of the language, including topics ranging from language syntax, design, and guidelines to concurrency, testing, and profiling. This class is perfect for anyone who wants a jump-start in learning Go or wants a more thorough understanding of the language and its internals.

In this video training, Bill Kennedy starts by providing a deep and intensive dive into Go’s language syntax, idioms, implementation, and specification. Then Bill guides you through the essential things you need to know about designing software in Go. With that strong foundation, Bill then teaches the language mechanics behind Go’s concurrency primitives and covers all the things you need to know to design concurrent software. Finally, Bill covers the tooling Go provides for testing, tracing, and profiling your programs.

About the Instructor

William Kennedy is a managing partner at Ardan Studio in Miami, Florida, a mobile, web, and systems development company. He is also a coauthor of the book Go in Action, the author of the blog "GoingGo.Net," and a founding member of GoBridge, which is working to increase Go adoption through embracing diversity.

Skill Level

  • Intermediate

Learn How To

  • Read code with an understanding of the language mechanics and internals
  • Understand costs by knowing the different semantics of the language
  • Code and design software more effectively
  • Design your Go projects and better ways to package your APIs
  • Write multithreaded code in Go and learn the things you need to focus on
  • Unit test your code and write benchmarks to validate assumptions
  • Profile and trace your Go programs to identify and fix bugs and to make improvements


Who Should Take This Course

Any intermediate-level developer who has some experience with other programming languages and wants to learn Go. This video is perfect for anyone who wants a jump-start in learning Go or wants a more thorough understanding of the language, its internals and how to design software.


Course Requirements

  • Studied CS in school or has a minimum of two years of experience programming full time professionally.
  • Familiar with structural and object-oriented programming styles.
  • Has worked with arrays, lists, queues and stacks.
  • Understands processes, threads and synchronization at a high level.
  • Operating Systems
  • Has worked with a command shell
  • Knows how to maneuver around the file system
  • Understands what environment variables are

About Pearson Video Training

Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Prentice Hall, Sams, and Que Topics include: IT Certification, Programming, Web Development, Mobile Development, Networking, Security, and more. Learn more about Pearson Video training at http://www.informit.com/video. Video Lessons are available for download for offline viewing within the streaming format. Look for the green arrow in each lesson.

Table of Contents

  1. Introduction
    1. Ultimate Go Programming: Introduction 00:04:28
  2. Lesson 1: Design Guidelines
    1. Topics 00:00:46
    2. 1.1 Prepare Your Mind 00:14:27
    3. 1.2 Productivity versus Performance 00:04:12
    4. 1.3 Correctness versus Performance 00:05:35
    5. 1.4 Code Reviews 00:18:52
  3. Lesson 2: Language Syntax
    1. Topics 00:00:49
    2. 2.1 Variables 00:16:27
    3. 2.2 Struct Types 00:23:28
    4. 2.3 Pointers—Part 1 (Pass by Value) 00:15:45
    5. 2.3 Pointer—Part 2 (Sharing Data) 00:10:35
    6. 2.3 Pointers—Part 3 (Escape Analysis) 00:20:20
    7. 2.3 Pointers—Part 4 (Stack Growth) 00:07:32
    8. 2.3 Pointers—Part 5 (Garbage Collection) 00:15:14
    9. 2.4 Constants 00:15:30
  4. Lesson 3: Data Structures
    1. Topics 00:00:41
    2. 3.1 Data-Oriented Design 00:04:53
    3. 3.2 Arrays—Part 1 (Mechanical Sympathy) 00:33:11
    4. 3.2 Arrays—Part 2 (Semantics) 00:16:43
    5. 3.3 Slices—Part 1 (Declare and Length and Reference Types) 00:08:46
    6. 3.3 Slices—Part 2 (Appending Slices) 00:15:32
    7. 3.3 Slices—Part 3 (Taking Slices of Slices) 00:11:45
    8. 3.3 Slices—Part 4 (Slices and References) 00:05:52
    9. 3.3 Slices—Part 5 (Strings and Slices) 00:08:30
    10. 3.3 Slices—Part 6 (Range Mechanics) 00:04:35
    11. 3.4 Maps 00:08:04
  5. Lesson 4: Decoupling
    1. Topics 00:00:56
    2. 4.1 Methods—Part 1 (Declare & Receiver Behavior) 00:10:45
    3. 4.1 Methods—Part 2 (Value & Pointer Semantics) 00:15:35
    4. 4.1 Methods—Part 3 (Function/ Method Variables) 00:13:40
    5. 4.2 Interfaces—Part 1 (Polymorphism) 00:20:12
    6. 4.2 Interfaces—Part 2 (Method Sets and Address of Value) 00:11:52
    7. 4.2 Interfaces—Part 3 (Storage by Value) 00:05:35
    8. 4.3 Embedding 00:07:31
    9. 4.4 Exporting 00:08:29
  6. Lesson 5: Composition
    1. Topics 00:01:00
    2. 5.1 Grouping Types 00:12:38
    3. 5.2 Decoupling—Part 1 00:06:59
    4. 5.2 Decoupling—Part 2 00:18:25
    5. 5.2 Decoupling—Part 3 00:14:37
    6. 5.3 Conversion and Assertions 00:09:03
    7. 5.4 Interface Pollution 00:06:46
    8. 5.5 Mocking 00:05:53
    9. 5.6 Design Guidelines 00:03:25
  7. Lesson 6: Error Handling
    1. Topics 00:00:52
    2. 6.1 Default Error Values 00:11:34
    3. 6.2 Error Variables 00:02:41
    4. 6.3 Type as Context 00:07:04
    5. 6.4 Behavior as Context 00:09:50
    6. 6.5 Find the Bug 00:08:53
    7. 6.6 Wrapping Errors 00:14:31
  8. Lesson 7: Packaging
    1. Topics 00:00:53
    2. 7.1 Language Mechanics 00:08:32
    3. 7.2 Design Guidelines 00:05:49
    4. 7.3 Package-Oriented Design 00:18:26
  9. Lesson 8: Goroutines
    1. Topics 00:00:29
    2. 8.1 OS Scheduler Mechanics 00:29:00
    3. 8.2 Go Scheduler Mechanics 00:20:42
    4. 8.3 Creating Goroutines 00:19:44
  10. Lesson 9: Data Races
    1. Topics 00:00:53
    2. 9.1 Cache Coherency and False Sharing 00:12:40
    3. 9.2 Synchronization with Atomic Functions 00:11:30
    4. 9.3 Synchronization with Mutexes 00:14:38
    5. 9.4 Race Detection 00:04:48
    6. 9.5 Map Data Race 00:04:01
    7. 9.6 Interface-Based Race Condition 00:08:14
  11. Lesson 10: Channels
    1. Topics 00:00:43
    2. 10.1 Signaling Semantics 00:17:50
    3. 10.2 Basic Patterns—Part 1 (Wait for Task) 00:11:12
    4. 10.2 Basic Patterns—Part 2 (Wait for Result) 00:04:20
    5. 10.2 Basic Patterns—Part 3 (Wait for Finished) 00:06:00
    6. 10.3 Pooling Pattern 00:06:23
    7. 10.4 Fan Out Pattern—Part 1 00:08:38
    8. 10.4 Fan Out Pattern—Part 2 00:06:24
    9. 10.5 Drop Pattern 00:07:15
    10. 10.6 Cancellation Pattern 00:08:15
  12. Lesson 11: Concurrency Patterns
    1. Topics 00:00:34
    2. 11.1 Context—Part 1 00:16:23
    3. 11.1 Context—Part 2 00:11:24
    4. 11.2 Failure Detection 00:23:17
  13. Lesson 12: Testing
    1. Topics 00:00:41
    2. 12.1 Basic Unit Testing 00:13:55
    3. 12.2 Table Unit Testing 00:03:19
    4. 12.3 Mocking Web Server Response 00:06:59
    5. 12.4 Testing Internal Endpoints 00:07:23
    6. 12.5 Example Tests 00:09:56
    7. 12.6 Sub Tests 00:05:36
    8. 12.7 Code Coverage 00:04:44
  14. Lesson 13: Benchmarking
    1. Topics 00:00:47
    2. 13.1 Basic Benchmarking 00:07:27
    3. 13.2 Sub Benchmarks 00:03:36
    4. 13.3 Validate Benchmarks 00:07:41
  15. Lesson 14: Profiling and Tracing
    1. Topics 00:00:55
    2. 14.1 Profiling Guidelines 00:10:48
    3. 14.2 Stack Traces 00:09:00
    4. 14.3 Micro Level Optimization 00:31:18
    5. 14.4 Part 1: Macro Level Optimization: GODEBUG Tracing 00:12:49
    6. 14.4 Part 2: Macro Level Optimization: Memory Profiing 00:16:07
    7. 14.4 Part 3: Macro Level Optimization: Tooling Changes 00:06:04
    8. 14.4 Part 4: Macro Level Optimization: CPU Profiling 00:05:53
    9. 14.5 Execution Tracing 00:34:25
  16. Summary
    1. Ultimate Go Programming: Summary 00:01:12