Amazon
SeattleL4 2014L5 2016L6 2019
Tech lead, Amazon's language for building user interfaces
- Team
- 10 engineers
- Scale
- part of ~80% of amazon.com pages
- Security
- Amazon's preferred XSS defense
- Focus
- language design, type systems, compilers, interop with other languages
- Stack
- Kotlin compiler; JVM and JavaScript targets
- Tooling
- language server, MCP server
I joined in 2018, when the team was four engineers, and I've been its tech lead since 2019. Its first version offered a safer, more runtime-performant way to template HTML. Today, because of my work partnering with the three server and micro-front-end platform teams, it's a full UI-focused language that is involved in rendering part of about 80% of amazon.com pages, and the team is 10 people. It's statically typed and compiles to the JVM and JavaScript, for server-rendered pages, the browser, and React Native.
- Set the language's direction with the team each year, toward making it the easiest way for people and AI agents alike to write UI that's right the first time, and kept platform, customer-experience, and feature teams aligned behind it.
- Designed and led the compiler's support for reactivity along two separate paths: direct interop with React, and compiling templates to a fine-grained reactive framework that updates only the markup that depends on changed state and hydrates only a page's interactive parts. Four engineers built the framework; I led its compiler integration. Reactive templates now run across thousands of Amazon shopping experiences.
- Led a ground-up rewrite of the type system: sound, and built to work alongside the languages it interoperates with. Its error messages, inspired by Rust's, point to the exact spot in the code and say how to fix it. Signatures are optional. Leave one off and the compiler infers it, as templating has always allowed, though writing your own is the recommended practice.
- Cross-site scripting protection lives in the compiler, which knows where each value lands in the page and escapes it for that spot. Amazon's security team recommends it as the first line of defense for server-rendered HTML.
- Grew the tooling around the compiler: a language server for editors and, more recently, an MCP server, so AI agents get the same errors and hints engineers do.
- Base design decisions on data: research into how other languages handle the same problems, feedback from the engineers who use it, and the compiler speed metrics we track to catch regressions.
- Mentored engineers through seven promotions, five to L5 and two to L6.
A front-end build system and asset pipeline
- Scale
- thousands of teams across Amazon shopping
- Stack
- JVM core (Java, Kotlin), Ruby, JavaScript
I was a core contributor to the front-end build tooling behind Amazon's retail pages (similar to Grunt, Gulp, or webpack) and the system that ships their assets to the CDN. I introduced switching tools that let teams declare variants without building every combination, and designed the plugin framework teams extend it with. Every page builds as a matrix of variants (device × locale × language × A/B test), each sliced to carry only what it needs, which was the key to fast pages before HTTP/2. Each new dimension multiplied the build, and the switching tools kept builds fast as the matrix grew.
A front-end framework and component library
- Team
- 10–20 engineers
The foundation of Amazon's retail pages. I worked across it — the carousel on mobile, tablet, and desktop, sweeping refactors, a TV navigation interface for the web — and designed how new versions were released to product teams.