Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of generators in Go through this 41-minute conference talk from GoLab. Dive into static analysis and code generation techniques to create custom generators, addressing the desire for yield-like functionality in Go functions. Learn about the limitations of using goroutines and channels for this purpose, and discover alternative approaches. Examine workflow, iterators, closures, advanced indexing, and code transformation methods. Understand the intricacies of value code, variable declarations, blocks, and loop structures in the context of generator implementation. Gain practical insights through demonstrations, code examples, and a Q&A session, equipping you with the knowledge to effectively implement and utilize generators in your Go projects.
Syllabus
Introduction
Disclaimer
Workflow
Iteratos
Closure
Advanced
Indexing
Generators
Code Generate
Code Transformation
Value
Code
Limitations
Variable Declarations
Blocks
Forever Loop
While Loop
Transformation
System
Slice Adapter
Demo
Generating Code
Play with Code
Questions
Taught by
GoLab conference