Listen "Ground Zero-Cost Bindings (with Josh Vlk)"
Episode Synopsis
In this Dead Code episode, Jared and ReScript contributor Josh Vlk explain why ReScript is a strongly typed, sound language for web development that compiles to JavaScript, offers first-class React support, and favors a “one right way” approach (built-in formatter, no linters) over TypeScript’s configurable sprawl. They trace its evolution from Reason/BuckleScript to today’s standalone ReScript, with v12 shedding legacy OCaml baggage, adding a rewritten Rust compiler for major speed, native monorepo support, zero-cost JS bindings, and automated upgrade fixes. The pair highlight how variant types and exhaustive pattern matching naturally model complex business logic and make refactors safe and fast, often resulting in less code and fewer bugs. Adoption can be incremental—drop a rescript.json, compile alongside TS/JS, and start with a small component or state reducer. Jared closes by urging developers to try it, noting ReScript’s consistency may also make it especially friendly for AI-assisted coding.Links:ReScriptTypeScriptReasonMLBuckleScriptOCamlRust“ReScript Has Come a Long Way — Maybe It’s Time to Switch from TypeScript” by Josh Vlk“Domain Driven Design Made Functional” by Scott Wlaschin (F# / functional programming concepts)ReScript ForumsReScript DocsReScript Packages on npm – Community bindings and librariesJosh Vlk on BlueskyJosh’s website Dead Code Podcast Links:MastodonXJared’s Links:MastodonXtwitch.tv/jardonamronJared’s Newsletter & WebsiteEpisode Transcript Hosted on Acast. See acast.com/privacy for more information.
More episodes of the podcast Dead Code
IDE-cide (with Samir Talwar)
13/01/2026
Deferred Conflict (with Steve Klabnik)
16/12/2025
Poison Pills (with Joel Hawksley)
02/12/2025
Brut-al Death (with David Bryant Copeland)
04/11/2025
God Class Funeral (with Adam Tornhill)
21/10/2025
Deserial Killer (with Matt Schwager)
07/10/2025
Crushing Riffs (with Kasper Timm Hansen)
23/09/2025
Fear-Driven Everything (with Justin Searls)
09/09/2025
Rage Quit Stamina Theory
26/08/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.