Get the latest tech news

Figma’s Journey to TypeScript


Figma's team recently converted one of its codebases from a custom programming language to TypeScript without disrupting a single day of development.

But as we accumulated more and more code in Skew in the prototype viewer over the years, we slowly realized that it was difficult for new hires to ramp up on, couldn’t easily integrate with the rest of our codebase, and was missing a developer ecosystem outside of Figma. When we first started using Skew, there were a few key benefits: classic compiler optimizations, like constant folding and devirtualization, along with web-specific ones like generating JavaScript code with real integer operations. We’re exploring a number of future possibilities: integration with the rest of our codebase, significantly easier package management, and direct use of new features from the active TypeScript ecosystem.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Figma

Figma

Photo of TypeScript

TypeScript

Photo of journey

journey

Related news:

News photo

Dropbox, Figma CEOs back Lamini, a startup building a generative AI platform for enterprises

News photo

My journey into personal computer software development in 1983

News photo

Journey studio's Sky: Children of the Light finally arrives on PC