Interview FAQ: Transpiling vs Compiling

What with the wider use of ES6 and TypeScript, everyone on the Front End scene seems to talk about transpiling these days. But what does the term really mean? And what’s the difference, if any, between transpiling and compiling?

Compiling defines the process of taking code written in one language, and transforming it into another.

Transpiling is in fact a kind of compiling. It takes code written in one language and transforms it into another language, but one with a similar level of abstraction. When it comes to compiling TypeScript or CoffeeScript into JavaScript, because they have similar levels of abstraction, this process is called transpiling.

That’s it, happy transpiling, everyone!