Introduction to Smithy Smithy4s
summary
Smithy is an AWS-born IDL after ~14 years of iteration used to describe hundreds of public services (330 public) and many internal ones, and Smithy4s is a Scala code generator that preserves that protocol-agnostic code generation. The project provides an SBT/Mill plugin, generates opaque types, case classes and companion schemas, and exposes interpreters so a generated service implementation compiles to http4s interpreter yields Routes that mount as a working server. Project is cross-platform (Scala 3, 2.13, 2.12), reaches version 0.18, and is used at scale inside Disney.
AI-written summary · about
chapters (7)
- 0:00The problem with scale
- 2:56Introduction to Smithy
- 4:07Smithy as a meta-model
- 9:41Working with traits
- 17:31The Smithy compiler
- 25:45Smithy for us: Scala tooling
- 36:29Q&A and conclusion
related talks
41mIntroduction to Smithy/Smithy4s
31mPAIN-FREE APIS WITH SMITHY4S
45mScala Meets GenAI - Build the Cool Stuff with LLM4S
43mAPI first with Swagger and Scala
35mFrom Zero to Three - Building a User Friendly DSL with Scala 3
45mA Server is Just a Function An Introduction to http4s
41mThe Making of the com.lihaoyi Ecosystem
36mScale By The Bay 2018 Unconference: Devon Stewart
