
Happy Path Programming #116 Infrastructure as Effects with Sam Goodwin
Sep 19, 2025
Sam Goodwin, Creator of Alchemy, is transforming Infrastructure as Code with innovative approaches to manage dependencies. He discusses the complications of current tools like CloudFormation and Terraform, and how Alchemy utilizes Effect-oriented programming for better efficiency. Sam explains the advantages of an async model and how it helps with IAM policies and deployment planning. Also, he shares insights on version-controlled infrastructure and previews exciting demos, showcasing the future of developer-focused tools.
AI Snips
Chapters
Books
Transcript
Episode notes
Effects Move Side Effects Into Types
- Effects let you move side-effect requirements into the type system so the compiler can flag missing infrastructure concerns early.
- That lets you shift left and catch IAM, config, and dependency errors before deployment.
Prefer Explicit, Type-Checked Requirements
- Make missing infra requirements explicit and type-checked instead of silently inferring everything.
- Let the compiler fail fast so you add the correct IAM or bindings before running deployments.
Layers Solve Closure And Bundle Problems
- Layers solve closure-serialization and bundle-size issues by separating heavy provider code from lightweight runtime handlers.
- You can provide only client layers to runtime so handlers remain optimally tree-shaken.


