Comment

Comment by closure

I do wish people would stop using the term transpiler as if there is something novel or different about source-to-source translation.

If you're taking a higher level language and compiling it to assembly, it's a compiler.

If you're taking a higher level language and compiling it to LLVM IR, it's a compiler.

If you're taking a higher level language, and compiling it to another higher level language...it's a compiler.

I am not sure where this term was first coined, but we've been doing source-to-source compilation for a very long term and it's just within the last 7-10 years I start hearing people use this term, which IMO adds no actual value.

It's perfectly fine to say "Swift to JS compiler".

parent closure 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton