Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Generating Generators in Go - Static Analysis and Code Generation

GoLab conference via YouTube

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

Reviews

Start your review of Generating Generators in Go - Static Analysis and Code Generation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.