Dead Code

Ground Zero-Cost Bindings (with Josh Vlk)


Listen Later

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:


ReScript

TypeScript

ReasonML

BuckleScript

OCaml

Rust

“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 Forums

ReScript Docs

ReScript Packages on npm – Community bindings and libraries

Josh Vlk on Bluesky

Josh’s website


Dead Code Podcast Links:


Mastodon

X

Jared’s Links:


Mastodon

X

twitch.tv/jardonamron

Jared’s Newsletter & Website


Episode Transcript

Hosted on Acast. See acast.com/privacy for more information.

...more
View all episodesView all episodes
Download on the App Store

Dead CodeBy Jared Norman